Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-09 23:59:06.242766
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_10072025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
0
3262187
0
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/00/image_10072025_00_00_01_4034.jpg', 2)]
{'portfolio_id': 24773944, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1752098406000}
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/00/image_10072025_00_00_01_4034.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/00/image_10072025_00_00_01_4034.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371450951"],"photo_id":"1371450951","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/c3ac1205c2af5d1f21d41b94b09917da.jpg","text":"TemporaryFile(/tmp/multipartBody1183841432850985862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752098408366,"filename":"image_10072025_00_00_01_4034.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371450951"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371450951"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.527477025985718 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:00:02.864755
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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
  port_id : 24740361
  datou_current_id : 3251921
in upload_from_sqlite, uploading in 24740361
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
error upload
[('/home/pi/Desktop/images/09072025/23/56/image_09072025_23_56_01_2890.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09072025/23/56/image_09072025_23_56_01_2890.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3251921&datou=0
/home/pi/Desktop/images/09072025/23/56/image_09072025_23_56_01_2890.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371451253"],"photo_id":"1371451253","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/8c2d9502a72db3c15186b1f04dd9a145.jpg","text":"TemporaryFile(/tmp/multipartBody6858916823842511727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752098464539,"filename":"image_09072025_23_56_01_2890.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371451253"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371451253"}],"hashtags":[],"portfolio_id":"24740361","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.225877285003662 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:01:04.082170
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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
  port_id : 24740361
  datou_current_id : 3251921
in upload_from_sqlite, uploading in 24740361
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
error upload
[('/home/pi/Desktop/images/09072025/23/59/image_09072025_23_59_02_0934.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09072025/23/59/image_09072025_23_59_02_0934.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3251921&datou=0
/home/pi/Desktop/images/09072025/23/59/image_09072025_23_59_02_0934.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371451440"],"photo_id":"1371451440","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/3f67b0f79407bd483a9daff59a937ce5.jpg","text":"TemporaryFile(/tmp/multipartBody977241608070323392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752098526117,"filename":"image_09072025_23_59_02_0934.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371451440"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371451440"}],"hashtags":[],"portfolio_id":"24740361","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.079119443893433 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:02:03.568354
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/01/image_10072025_00_01_01_4663.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/01/image_10072025_00_01_01_4663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/01/image_10072025_00_01_01_4663.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371451484"],"photo_id":"1371451484","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/0822fe63dddf93145f4439f0b9f013b6.jpg","text":"TemporaryFile(/tmp/multipartBody2546375664538980606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752098584574,"filename":"image_10072025_00_01_01_4663.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371451484"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371451484"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.899708271026611 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:03:04.074849
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/02/image_10072025_00_02_01_6568.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/02/image_10072025_00_02_01_6568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/02/image_10072025_00_02_01_6568.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371451519"],"photo_id":"1371451519","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/d55b3a16843134cd489e63cb46aa61c3.jpg","text":"TemporaryFile(/tmp/multipartBody4910909669420418255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752098645121,"filename":"image_10072025_00_02_01_6568.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371451519"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371451519"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.192477226257324 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:04:04.777815
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/03/image_10072025_00_03_01_6392.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/03/image_10072025_00_03_01_6392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/03/image_10072025_00_03_01_6392.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371451653"],"photo_id":"1371451653","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/2bf36d94d703a7b00b035c3bcdfda476.jpg","text":"TemporaryFile(/tmp/multipartBody7093838395484170554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752098706044,"filename":"image_10072025_00_03_01_6392.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371451653"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371451653"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.963947057724 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:05:04.598390
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/04/image_10072025_00_04_01_6085.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/04/image_10072025_00_04_01_6085.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/04/image_10072025_00_04_01_6085.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371451965"],"photo_id":"1371451965","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/d322262e8f205ee98b201a904831ffb9.jpg","text":"TemporaryFile(/tmp/multipartBody8382061350167663273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752098765634,"filename":"image_10072025_00_04_01_6085.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371451965"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371451965"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.293570518493652 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:06:04.482406
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:07:04.253125
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:08:04.190168
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:09:03.293559
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/05/image_10072025_00_05_01_9511.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/05/image_10072025_00_05_01_9511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/05/image_10072025_00_05_01_9511.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371452920"],"photo_id":"1371452920","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/0bbf0da280502e56529d05c61eacaffe.jpg","text":"TemporaryFile(/tmp/multipartBody4264744170790849459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752099004350,"filename":"image_10072025_00_05_01_9511.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371452920"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371452920"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.846239566802979 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:10:03.265796
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/09/image_10072025_00_09_02_1505.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/09/image_10072025_00_09_02_1505.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/09/image_10072025_00_09_02_1505.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371453164"],"photo_id":"1371453164","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/fc8a10d161e82d492c69238bcd4a7004.jpg","text":"TemporaryFile(/tmp/multipartBody3700448780004843466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752099064373,"filename":"image_10072025_00_09_02_1505.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371453164"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371453164"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.830994129180908 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:11:04.260596
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/10/image_10072025_00_10_01_5979.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/10/image_10072025_00_10_01_5979.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/10/image_10072025_00_10_01_5979.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371453371"],"photo_id":"1371453371","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/4773635bcb0457195c846ec198ebb657.jpg","text":"TemporaryFile(/tmp/multipartBody7411106307312793565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752099125466,"filename":"image_10072025_00_10_01_5979.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371453371"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371453371"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.294626474380493 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:12:03.603681
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/11/image_10072025_00_11_01_3712.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/11/image_10072025_00_11_01_3712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/11/image_10072025_00_11_01_3712.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371453410"],"photo_id":"1371453410","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/108c7044dc572dce0eb00328394533b2.jpg","text":"TemporaryFile(/tmp/multipartBody5676319128884709209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752099184885,"filename":"image_10072025_00_11_01_3712.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371453410"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371453410"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.188072204589844 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:13:04.324597
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/12/image_10072025_00_12_02_0491.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/12/image_10072025_00_12_02_0491.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/12/image_10072025_00_12_02_0491.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371453466"],"photo_id":"1371453466","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/95284628088873493e0f9891681e56a1.jpg","text":"TemporaryFile(/tmp/multipartBody1100223846995571176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752099245345,"filename":"image_10072025_00_12_02_0491.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371453466"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371453466"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.003499507904053 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:14:03.373218
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/13/image_10072025_00_13_01_6326.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/13/image_10072025_00_13_01_6326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/13/image_10072025_00_13_01_6326.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.9554920196533203 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 -f /home/pi/Desktop/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 00:15:03.824547
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/14/image_10072025_00_14_02_0686.jpg', 2), ('/home/pi/Desktop/images/10072025/00/13/image_10072025_00_13_01_6326.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/14/image_10072025_00_14_02_0686.jpg', '/home/pi/Desktop/images/10072025/00/13/image_10072025_00_13_01_6326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/14/image_10072025_00_14_02_0686.jpg
/home/pi/Desktop/images/10072025/00/13/image_10072025_00_13_01_6326.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371453796","1371453832"],"photo_ids_order":["1371453796","1371453832"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/e85bc31974e561c5cceba67895232015.jpg","text":"TemporaryFile(/tmp/multipartBody4651206565749142993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752099365204,"filename":"image_10072025_00_14_02_0686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/94640a529660e199351e16a3d9df4260.jpg","text":"TemporaryFile(/tmp/multipartBody7735212228704679454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752099365204,"filename":"image_10072025_00_13_01_6326.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371453832","file0":"1371453796"},"map_files_photo_id_array":[{"photo_id":"1371453832","filename":"file1"},{"photo_id":"1371453796","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371453796":["hashtag1","hashtag2"]},{"1371453832":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371453796, 1371453832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.288447618484497 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:16:05.246731
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/15/image_10072025_00_15_01_7073.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/15/image_10072025_00_15_01_7073.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/15/image_10072025_00_15_01_7073.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.94169020652771 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 -f /home/pi/Desktop/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 00:17:04.069060
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/16/image_10072025_00_16_01_6153.jpg', 2), ('/home/pi/Desktop/images/10072025/00/15/image_10072025_00_15_01_7073.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/16/image_10072025_00_16_01_6153.jpg', '/home/pi/Desktop/images/10072025/00/15/image_10072025_00_15_01_7073.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/16/image_10072025_00_16_01_6153.jpg
/home/pi/Desktop/images/10072025/00/15/image_10072025_00_15_01_7073.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371454059","1371454101"],"photo_ids_order":["1371454059","1371454101"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/240ac6e0cfe0512dfb43da4042d01dc1.jpg","text":"TemporaryFile(/tmp/multipartBody6242335291141294112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752099485490,"filename":"image_10072025_00_16_01_6153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/2475e2554d655d5fc603765af386e3ab.jpg","text":"TemporaryFile(/tmp/multipartBody2726129355035340310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752099485490,"filename":"image_10072025_00_15_01_7073.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371454101","file0":"1371454059"},"map_files_photo_id_array":[{"photo_id":"1371454101","filename":"file1"},{"photo_id":"1371454059","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371454059":["hashtag1","hashtag2"]},{"1371454101":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371454059, 1371454101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.889461755752563 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:18:05.567197
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/17/image_10072025_00_17_01_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/17/image_10072025_00_17_01_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/17/image_10072025_00_17_01_9640.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371454221"],"photo_id":"1371454221","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/ba912a21d3a018165e246a4324f89dc4.jpg","text":"TemporaryFile(/tmp/multipartBody6681080340030606309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752099546575,"filename":"image_10072025_00_17_01_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371454221"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371454221"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.435868263244629 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:19:04.187474
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/18/image_10072025_00_18_01_9954.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/18/image_10072025_00_18_01_9954.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/18/image_10072025_00_18_01_9954.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371454691"],"photo_id":"1371454691","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/d6441b23d9902b2eac71a96abcbd148c.jpg","text":"TemporaryFile(/tmp/multipartBody5538559537649761296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752099605279,"filename":"image_10072025_00_18_01_9954.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371454691"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371454691"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.021855354309082 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:20:04.224830
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:21:03.837394
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:22:02.946153
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:23:04.602991
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/19/image_10072025_00_19_02_1459.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/19/image_10072025_00_19_02_1459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/19/image_10072025_00_19_02_1459.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371455670"],"photo_id":"1371455670","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/ef50bfa7f4ed6a0bb5d636ae860ebbb7.jpg","text":"TemporaryFile(/tmp/multipartBody4268772841219475202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752099845745,"filename":"image_10072025_00_19_02_1459.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371455670"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371455670"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.411752939224243 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:24:03.642093
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:25:06.238280
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:26:04.565289
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/23/image_10072025_00_23_01_4597.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/23/image_10072025_00_23_01_4597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/23/image_10072025_00_23_01_4597.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371455866"],"photo_id":"1371455866","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/754ff1679b92c78af2163fc4330eeca5.jpg","text":"TemporaryFile(/tmp/multipartBody6000681185883490240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752100025759,"filename":"image_10072025_00_23_01_4597.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371455866"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371455866"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.770148992538452 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:27:04.881988
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/26/image_10072025_00_26_01_7374.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/26/image_10072025_00_26_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/00/26/image_10072025_00_26_01_7374.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371455912"],"photo_id":"1371455912","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/0e1ca26011751289a17dd27ef99e25ba.jpg","text":"TemporaryFile(/tmp/multipartBody3762596746802306786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752100086253,"filename":"image_10072025_00_26_01_7374.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371455912"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371455912"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.643319845199585 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:28:03.901607
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/27/image_10072025_00_27_01_5861.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/27/image_10072025_00_27_01_5861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/27/image_10072025_00_27_01_5861.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371455960"],"photo_id":"1371455960","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/ef2bb6f7e38a05c4bd7adb8a97e87ce1.jpg","text":"TemporaryFile(/tmp/multipartBody972308699628008738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752100145092,"filename":"image_10072025_00_27_01_5861.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371455960"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371455960"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.625062227249146 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:29:04.521645
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/28/image_10072025_00_28_01_8527.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/28/image_10072025_00_28_01_8527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/28/image_10072025_00_28_01_8527.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371455986"],"photo_id":"1371455986","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/6d22f446cc35d162dbe1450e82af12e0.jpg","text":"TemporaryFile(/tmp/multipartBody2006424472381957428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752100205549,"filename":"image_10072025_00_28_01_8527.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371455986"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371455986"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.455010175704956 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:30:04.396619
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/29/image_10072025_00_29_01_7026.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/29/image_10072025_00_29_01_7026.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/29/image_10072025_00_29_01_7026.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.0937936305999756 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 -f /home/pi/Desktop/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 00:31:03.832234
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/30/image_10072025_00_30_01_4735.jpg', 2), ('/home/pi/Desktop/images/10072025/00/29/image_10072025_00_29_01_7026.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/30/image_10072025_00_30_01_4735.jpg', '/home/pi/Desktop/images/10072025/00/29/image_10072025_00_29_01_7026.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/30/image_10072025_00_30_01_4735.jpg
/home/pi/Desktop/images/10072025/00/29/image_10072025_00_29_01_7026.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371456099","1371456101"],"photo_ids_order":["1371456099","1371456101"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/4d35873f67a93c7949cca265865c10f5.jpg","text":"TemporaryFile(/tmp/multipartBody2196820812113942481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752100325318,"filename":"image_10072025_00_30_01_4735.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/3725dc1b9e9bec613eddb6f9fff9ec60.jpg","text":"TemporaryFile(/tmp/multipartBody9153808848904100887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752100325318,"filename":"image_10072025_00_29_01_7026.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371456101","file0":"1371456099"},"map_files_photo_id_array":[{"photo_id":"1371456101","filename":"file1"},{"photo_id":"1371456099","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371456099":["hashtag1","hashtag2"]},{"1371456101":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371456099, 1371456101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.441177368164062 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:32:05.568291
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/31/image_10072025_00_31_01_7425.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/31/image_10072025_00_31_01_7425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/31/image_10072025_00_31_01_7425.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371456146"],"photo_id":"1371456146","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/2cbcb498e1d6a15f7da9632127f79d0d.jpg","text":"TemporaryFile(/tmp/multipartBody3112615614239015416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752100386861,"filename":"image_10072025_00_31_01_7425.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371456146"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371456146"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.957815408706665 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:33:04.485963
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:34:03.352101
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/32/image_10072025_00_32_02_0416.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/32/image_10072025_00_32_02_0416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/32/image_10072025_00_32_02_0416.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371456561"],"photo_id":"1371456561","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/0bef5afb4846a13d490e22c00e9934a6.jpg","text":"TemporaryFile(/tmp/multipartBody1455189545452076812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752100504424,"filename":"image_10072025_00_32_02_0416.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371456561"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371456561"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.67598795890808 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:35:05.304397
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/34/image_10072025_00_34_01_9447.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/34/image_10072025_00_34_01_9447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/34/image_10072025_00_34_01_9447.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371457083"],"photo_id":"1371457083","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/669119694b2038df790513d974dd13c4.jpg","text":"TemporaryFile(/tmp/multipartBody1119504325281631167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752100566605,"filename":"image_10072025_00_34_01_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371457083"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371457083"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.824317693710327 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:36:03.808546
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/35/image_10072025_00_35_01_7512.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/35/image_10072025_00_35_01_7512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/35/image_10072025_00_35_01_7512.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371457330"],"photo_id":"1371457330","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/92cc1dd1db87065243b9d5772676969b.jpg","text":"TemporaryFile(/tmp/multipartBody3757276030065490532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752100624839,"filename":"image_10072025_00_35_01_7512.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371457330"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371457330"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.746484994888306 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:37:04.286180
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/36/image_10072025_00_36_01_8066.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/36/image_10072025_00_36_01_8066.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/36/image_10072025_00_36_01_8066.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371457444"],"photo_id":"1371457444","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/186a9aa6262066c6b85200af5fd5a335.jpg","text":"TemporaryFile(/tmp/multipartBody2531872283037809183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752100685434,"filename":"image_10072025_00_36_01_8066.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371457444"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371457444"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.502896308898926 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:38:04.169682
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/37/image_10072025_00_37_01_8971.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/37/image_10072025_00_37_01_8971.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/37/image_10072025_00_37_01_8971.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.9641177654266357 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 -f /home/pi/Desktop/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 00:39:04.332561
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/38/image_10072025_00_38_01_4326.jpg', 2), ('/home/pi/Desktop/images/10072025/00/37/image_10072025_00_37_01_8971.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/38/image_10072025_00_38_01_4326.jpg', '/home/pi/Desktop/images/10072025/00/37/image_10072025_00_37_01_8971.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/38/image_10072025_00_38_01_4326.jpg
/home/pi/Desktop/images/10072025/00/37/image_10072025_00_37_01_8971.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371457521","1371457515"],"photo_ids_order":["1371457515","1371457521"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/60d2ea99c5849507316e319e690f6bac.jpg","text":"TemporaryFile(/tmp/multipartBody2935415539615639639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752100805842,"filename":"image_10072025_00_37_01_8971.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/e41eaf544129656ae294727da3fa5e35.jpg","text":"TemporaryFile(/tmp/multipartBody2579209225093405535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752100805842,"filename":"image_10072025_00_38_01_4326.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371457521","file0":"1371457515"},"map_files_photo_id_array":[{"photo_id":"1371457521","filename":"file1"},{"photo_id":"1371457515","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371457521":["hashtag1","hashtag2"]},{"1371457515":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371457521, 1371457515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.741607427597046 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:40:05.192120
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/39/image_10072025_00_39_02_0756.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/39/image_10072025_00_39_02_0756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/39/image_10072025_00_39_02_0756.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.161055564880371 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 -f /home/pi/Desktop/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 00:41:03.866527
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/40/image_10072025_00_40_02_2385.jpg', 2), ('/home/pi/Desktop/images/10072025/00/39/image_10072025_00_39_02_0756.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/40/image_10072025_00_40_02_2385.jpg', '/home/pi/Desktop/images/10072025/00/39/image_10072025_00_39_02_0756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/40/image_10072025_00_40_02_2385.jpg
/home/pi/Desktop/images/10072025/00/39/image_10072025_00_39_02_0756.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371457853","1371457805"],"photo_ids_order":["1371457805","1371457853"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/437e20b62a7d223861736753a006bc03.jpg","text":"TemporaryFile(/tmp/multipartBody2762660230082001343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752100925351,"filename":"image_10072025_00_39_02_0756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/8fee0030a45f59d04238ad7c38494c69.jpg","text":"TemporaryFile(/tmp/multipartBody445458204619023140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752100925351,"filename":"image_10072025_00_40_02_2385.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371457853","file0":"1371457805"},"map_files_photo_id_array":[{"photo_id":"1371457853","filename":"file1"},{"photo_id":"1371457805","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371457853":["hashtag1","hashtag2"]},{"1371457805":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371457853, 1371457805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.400543451309204 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:42:05.623988
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/41/image_10072025_00_41_02_1087.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/41/image_10072025_00_41_02_1087.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/41/image_10072025_00_41_02_1087.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371457981"],"photo_id":"1371457981","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/de4a2642716e15e23ca0aaf1937a264c.jpg","text":"TemporaryFile(/tmp/multipartBody4573803774575832771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752100986939,"filename":"image_10072025_00_41_02_1087.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371457981"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371457981"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.352186679840088 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:43:04.785658
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/42/image_10072025_00_42_01_9841.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/42/image_10072025_00_42_01_9841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/42/image_10072025_00_42_01_9841.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371458017"],"photo_id":"1371458017","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/55112110d3885c9db3fb96e8404c24a9.jpg","text":"TemporaryFile(/tmp/multipartBody5555708030577837154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752101046093,"filename":"image_10072025_00_42_01_9841.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371458017"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371458017"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.518606185913086 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:44:04.086451
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:45:04.236423
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/43/image_10072025_00_43_02_2735.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/43/image_10072025_00_43_02_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/43/image_10072025_00_43_02_2735.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371458111"],"photo_id":"1371458111","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/7b52c24db3f718cc4ab5c34873077640.jpg","text":"TemporaryFile(/tmp/multipartBody995933031366588240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752101165379,"filename":"image_10072025_00_43_02_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371458111"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371458111"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.536041736602783 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:46:05.072266
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/45/image_10072025_00_45_01_9162.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/45/image_10072025_00_45_01_9162.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/45/image_10072025_00_45_01_9162.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371458146"],"photo_id":"1371458146","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/d666b48145934348eb3184b608153cb1.jpg","text":"TemporaryFile(/tmp/multipartBody8231225603851239849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752101226128,"filename":"image_10072025_00_45_01_9162.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371458146"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371458146"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.973209619522095 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:47:05.379773
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/46/image_10072025_00_46_01_9512.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/46/image_10072025_00_46_01_9512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/46/image_10072025_00_46_01_9512.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371458176"],"photo_id":"1371458176","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/5a8bc60a7199863ca13ee5c5ec982374.jpg","text":"TemporaryFile(/tmp/multipartBody91990709234884428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752101286610,"filename":"image_10072025_00_46_01_9512.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371458176"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371458176"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.252039909362793 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:48:04.601354
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/47/image_10072025_00_47_01_9205.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/47/image_10072025_00_47_01_9205.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/47/image_10072025_00_47_01_9205.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371458205"],"photo_id":"1371458205","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/3da11a3619dd7785fe691a1bb3318d01.jpg","text":"TemporaryFile(/tmp/multipartBody5112704285827861127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752101345753,"filename":"image_10072025_00_47_01_9205.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371458205"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371458205"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.129105806350708 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:49:04.482315
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 2 files
1 photos no longer on disk
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/00/50/image_10072025_00_50_01_9189.jpg', 2), ('/home/pi/Desktop/images/10072025/00/48/image_10072025_00_48_01_6327.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/48/image_10072025_00_48_01_6327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/48/image_10072025_00_48_01_6327.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371458245"],"photo_id":"1371458245","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/84901f209f8ae3ecc4f226ca04311e1e.jpg","text":"TemporaryFile(/tmp/multipartBody3226810709093973085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752101405913,"filename":"image_10072025_00_48_01_6327.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371458245"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371458245"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.007212162017822 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/10072025/00/50/image_10072025_00_50_01_9189.jpg'],)
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:50:02.802044
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:51:03.579468
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/49/image_10072025_00_49_01_5211.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/49/image_10072025_00_49_01_5211.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/49/image_10072025_00_49_01_5211.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371458488"],"photo_id":"1371458488","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/c56a58f36d7974733728bd4bac867204.jpg","text":"TemporaryFile(/tmp/multipartBody3806577686158207936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752101524675,"filename":"image_10072025_00_49_01_5211.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371458488"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371458488"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.307939052581787 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:52:04.856065
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/51/image_10072025_00_51_01_3040.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/51/image_10072025_00_51_01_3040.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/51/image_10072025_00_51_01_3040.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371458570"],"photo_id":"1371458570","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/8ebbe242af8230092aed4fc9c8f8c867.jpg","text":"TemporaryFile(/tmp/multipartBody7147335293586369013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752101586111,"filename":"image_10072025_00_51_01_3040.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371458570"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371458570"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.361480236053467 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:53:04.399760
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/52/image_10072025_00_52_01_8402.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/52/image_10072025_00_52_01_8402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/52/image_10072025_00_52_01_8402.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371458701"],"photo_id":"1371458701","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/3407d132d9ccbc9fc7494a3050c6b580.jpg","text":"TemporaryFile(/tmp/multipartBody5975183897289505292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752101645470,"filename":"image_10072025_00_52_01_8402.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371458701"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371458701"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.160191297531128 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:54:03.979243
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/53/image_10072025_00_53_01_6122.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/53/image_10072025_00_53_01_6122.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/53/image_10072025_00_53_01_6122.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371458799"],"photo_id":"1371458799","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/c741549968f7cf7142ceff3fdccfb4b0.jpg","text":"TemporaryFile(/tmp/multipartBody8482142513462365528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752101705043,"filename":"image_10072025_00_53_01_6122.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371458799"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371458799"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.63455080986023 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:55:05.134691
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/54/image_10072025_00_54_01_7309.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/54/image_10072025_00_54_01_7309.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/54/image_10072025_00_54_01_7309.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371458827"],"photo_id":"1371458827","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/27926b1567a38c9b469d93b09cc8ad47.jpg","text":"TemporaryFile(/tmp/multipartBody4427354736254186389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752101766317,"filename":"image_10072025_00_54_01_7309.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371458827"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371458827"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.317875623703003 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:56:04.483939
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/55/image_10072025_00_55_01_7836.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/55/image_10072025_00_55_01_7836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/55/image_10072025_00_55_01_7836.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371458867"],"photo_id":"1371458867","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/acd78603cbd28493fc746f758f9f65e4.jpg","text":"TemporaryFile(/tmp/multipartBody7700711423389445004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752101825460,"filename":"image_10072025_00_55_01_7836.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371458867"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371458867"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.910269021987915 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:57:03.836067
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/56/image_10072025_00_56_02_2574.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/56/image_10072025_00_56_02_2574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/56/image_10072025_00_56_02_2574.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371459005"],"photo_id":"1371459005","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/c179c6cf43a04a4f3bdff2a871ded403.jpg","text":"TemporaryFile(/tmp/multipartBody7275812063832423657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752101884871,"filename":"image_10072025_00_56_02_2574.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371459005"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371459005"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.249153852462769 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 00:59:04.056695
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/57/image_10072025_00_57_02_1617.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/57/image_10072025_00_57_02_1617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/57/image_10072025_00_57_02_1617.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371459974"],"photo_id":"1371459974","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/1f4fba4a011bab2383b44b99265f58f5.jpg","text":"TemporaryFile(/tmp/multipartBody424005019107860398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752102005361,"filename":"image_10072025_00_57_02_1617.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371459974"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371459974"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.955373525619507 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:00:03.699584
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/00/58/image_10072025_00_58_01_3474.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/00/58/image_10072025_00_58_01_3474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/00/58/image_10072025_00_58_01_3474.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371460409"],"photo_id":"1371460409","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/646b40734adb3a497d7382863fc81810.jpg","text":"TemporaryFile(/tmp/multipartBody4854340197322517033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752102064674,"filename":"image_10072025_00_58_01_3474.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371460409"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371460409"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.03375554084778 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:01:04.209573
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/00/image_10072025_01_00_01_7078.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/00/image_10072025_01_00_01_7078.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/00/image_10072025_01_00_01_7078.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371460880"],"photo_id":"1371460880","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/4cbfd1385708e560ade23e5346715922.jpg","text":"TemporaryFile(/tmp/multipartBody7266049019607676759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752102125302,"filename":"image_10072025_01_00_01_7078.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371460880"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371460880"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.670921087265015 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:02:03.772054
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/01/image_10072025_01_01_01_5485.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/01/image_10072025_01_01_01_5485.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/01/image_10072025_01_01_01_5485.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.9545328617095947 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 -f /home/pi/Desktop/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 01:03:03.468387
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/02/image_10072025_01_02_02_1085.jpg', 2), ('/home/pi/Desktop/images/10072025/01/01/image_10072025_01_01_01_5485.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/02/image_10072025_01_02_02_1085.jpg', '/home/pi/Desktop/images/10072025/01/01/image_10072025_01_01_01_5485.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/02/image_10072025_01_02_02_1085.jpg
/home/pi/Desktop/images/10072025/01/01/image_10072025_01_01_01_5485.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371460949","1371460954"],"photo_ids_order":["1371460949","1371460954"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/e789c2eeaf23011a13ce7e62e6c45563.jpg","text":"TemporaryFile(/tmp/multipartBody4275133282138257377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752102244868,"filename":"image_10072025_01_02_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/10/9a7547736903e08a27bf0f4d6df1e162.jpg","text":"TemporaryFile(/tmp/multipartBody6982540752421228507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752102244868,"filename":"image_10072025_01_01_01_5485.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371460954","file0":"1371460949"},"map_files_photo_id_array":[{"photo_id":"1371460954","filename":"file1"},{"photo_id":"1371460949","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371460949":["hashtag1","hashtag2"]},{"1371460954":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371460949, 1371460954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.732726335525513 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:04:04.902082
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/03/image_10072025_01_03_01_8257.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/03/image_10072025_01_03_01_8257.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/03/image_10072025_01_03_01_8257.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.146146297454834 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 -f /home/pi/Desktop/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 01:05:03.302508
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/04/image_10072025_01_04_01_3527.jpg', 2), ('/home/pi/Desktop/images/10072025/01/03/image_10072025_01_03_01_8257.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/04/image_10072025_01_04_01_3527.jpg', '/home/pi/Desktop/images/10072025/01/03/image_10072025_01_03_01_8257.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/04/image_10072025_01_04_01_3527.jpg
/home/pi/Desktop/images/10072025/01/03/image_10072025_01_03_01_8257.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371461011","1371461008"],"photo_ids_order":["1371461008","1371461011"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/10babc1895b6d69c7049584ee05d4cff.jpg","text":"TemporaryFile(/tmp/multipartBody8261589091770942857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752102364729,"filename":"image_10072025_01_03_01_8257.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/ee9f890f18de5e57e82645f74af55ca5.jpg","text":"TemporaryFile(/tmp/multipartBody9050626148546907745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752102364729,"filename":"image_10072025_01_04_01_3527.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371461011","file0":"1371461008"},"map_files_photo_id_array":[{"photo_id":"1371461011","filename":"file1"},{"photo_id":"1371461008","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371461011":["hashtag1","hashtag2"]},{"1371461008":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371461011, 1371461008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.95583200454712 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:06:04.839920
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/05/image_10072025_01_05_01_5422.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/05/image_10072025_01_05_01_5422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/05/image_10072025_01_05_01_5422.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371461049"],"photo_id":"1371461049","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/2a2ad9cea2b23eafae0d3c458dad50d5.jpg","text":"TemporaryFile(/tmp/multipartBody3514379751122679929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752102426114,"filename":"image_10072025_01_05_01_5422.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371461049"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371461049"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.254050493240356 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:07:04.423439
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:08:03.288678
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/06/image_10072025_01_06_01_2404.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/06/image_10072025_01_06_01_2404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/06/image_10072025_01_06_01_2404.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371461165"],"photo_id":"1371461165","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/c243c5dc8b32e1d349a0bd7e7b5fc7d1.jpg","text":"TemporaryFile(/tmp/multipartBody4263017151761900882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752102544240,"filename":"image_10072025_01_06_01_2404.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371461165"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371461165"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.537452697753906 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:09:03.583324
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/08/image_10072025_01_08_02_0307.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/08/image_10072025_01_08_02_0307.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/08/image_10072025_01_08_02_0307.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371461205"],"photo_id":"1371461205","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/b9e83eb6c4a6bdb0d38c56bdd572896c.jpg","text":"TemporaryFile(/tmp/multipartBody1072911972989829331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752102604619,"filename":"image_10072025_01_08_02_0307.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371461205"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371461205"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.22816562652588 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:10:04.822963
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:11:04.001755
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:12:03.279856
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:13:04.136246
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/09/image_10072025_01_09_01_7863.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/09/image_10072025_01_09_01_7863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/09/image_10072025_01_09_01_7863.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371461765"],"photo_id":"1371461765","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/53ca67ed57a41b382c1da8d146cf7d3a.jpg","text":"TemporaryFile(/tmp/multipartBody6607190180304284623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752102845233,"filename":"image_10072025_01_09_01_7863.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371461765"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371461765"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.965579748153687 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:14:03.738080
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/13/image_10072025_01_13_01_6985.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/13/image_10072025_01_13_01_6985.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/13/image_10072025_01_13_01_6985.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371461994"],"photo_id":"1371461994","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/49a8049a389a292fcf7ebe44162aac64.jpg","text":"TemporaryFile(/tmp/multipartBody3361768142840672807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752102904831,"filename":"image_10072025_01_13_01_6985.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371461994"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371461994"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.25502371788025 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:15:03.492160
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/14/image_10072025_01_14_01_9466.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/14/image_10072025_01_14_01_9466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/14/image_10072025_01_14_01_9466.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371462289"],"photo_id":"1371462289","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/d17b6fe2e1b3e96387076774da118374.jpg","text":"TemporaryFile(/tmp/multipartBody6892664155908138879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752102964488,"filename":"image_10072025_01_14_01_9466.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371462289"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371462289"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.681471824645996 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:16:04.709437
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:17:04.236400
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:18:03.188950
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:19:03.502210
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/15/image_10072025_01_15_01_2522.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/15/image_10072025_01_15_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/01/15/image_10072025_01_15_01_2522.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371463151"],"photo_id":"1371463151","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/df842c4172b4826a1663ac8db8efbe43.jpg","text":"TemporaryFile(/tmp/multipartBody6857481220369825045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752103204635,"filename":"image_10072025_01_15_01_2522.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371463151"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371463151"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.862993478775024 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:20:03.423055
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/19/image_10072025_01_19_01_6165.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/19/image_10072025_01_19_01_6165.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/19/image_10072025_01_19_01_6165.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371463562"],"photo_id":"1371463562","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/6ab78a91b40c260e06aa9bbb7c093f3b.jpg","text":"TemporaryFile(/tmp/multipartBody5463891452078193031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752103264409,"filename":"image_10072025_01_19_01_6165.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371463562"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371463562"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.006728172302246 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:21:04.113380
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:22:03.600477
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/20/image_10072025_01_20_01_6106.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/20/image_10072025_01_20_01_6106.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/20/image_10072025_01_20_01_6106.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371464002"],"photo_id":"1371464002","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/1383e6e9cfbdd10e7ecc25a90ee49847.jpg","text":"TemporaryFile(/tmp/multipartBody7141837972191659144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752103384608,"filename":"image_10072025_01_20_01_6106.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371464002"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371464002"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.597155570983887 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:23:04.505812
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/22/image_10072025_01_22_02_1178.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/22/image_10072025_01_22_02_1178.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/22/image_10072025_01_22_02_1178.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371464051"],"photo_id":"1371464051","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/a7452623ab1cb637fe8b6b626938d3ca.jpg","text":"TemporaryFile(/tmp/multipartBody6581469216334574978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752103445680,"filename":"image_10072025_01_22_02_1178.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371464051"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371464051"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.997968435287476 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:24:03.720449
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/23/image_10072025_01_23_01_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/23/image_10072025_01_23_01_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/23/image_10072025_01_23_01_9562.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371464085"],"photo_id":"1371464085","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/d051788db937db740949a1193f66f22e.jpg","text":"TemporaryFile(/tmp/multipartBody704214529423267451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752103504797,"filename":"image_10072025_01_23_01_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371464085"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371464085"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.089573860168457 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:25:06.507551
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/24/image_10072025_01_24_01_8984.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/24/image_10072025_01_24_01_8984.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/24/image_10072025_01_24_01_8984.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371464111"],"photo_id":"1371464111","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/6caa0982f3c52a17f49c8f700e5564b0.jpg","text":"TemporaryFile(/tmp/multipartBody68435781619035469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752103568140,"filename":"image_10072025_01_24_01_8984.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371464111"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371464111"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.51125407218933 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:26:04.994792
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/25/image_10072025_01_25_01_4639.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/25/image_10072025_01_25_01_4639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/25/image_10072025_01_25_01_4639.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371464165"],"photo_id":"1371464165","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/dfca725ad78b5bb2b675c337b938cb8c.jpg","text":"TemporaryFile(/tmp/multipartBody8737604214977356918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752103626143,"filename":"image_10072025_01_25_01_4639.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371464165"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371464165"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.261270999908447 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:27:04.210405
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/26/image_10072025_01_26_01_5468.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/26/image_10072025_01_26_01_5468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/26/image_10072025_01_26_01_5468.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371464210"],"photo_id":"1371464210","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/89d0ead7a1a45b1a0ce8c721b26e9619.jpg","text":"TemporaryFile(/tmp/multipartBody3673700993397222317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752103685340,"filename":"image_10072025_01_26_01_5468.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371464210"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371464210"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.119031190872192 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:28:03.379398
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:29:03.939084
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:30:04.251324
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:31:03.747085
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:32:03.258787
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:33:03.569543
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:34:02.929833
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:35:04.152091
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:36:03.640966
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:37:03.238989
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:38:05.357558
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/27/image_10072025_01_27_01_4781.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/27/image_10072025_01_27_01_4781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/27/image_10072025_01_27_01_4781.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.0940017700195312 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 -f /home/pi/Desktop/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 01:39:03.913315
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/27/image_10072025_01_27_01_4781.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/27/image_10072025_01_27_01_4781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/27/image_10072025_01_27_01_4781.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371464711"],"photo_id":"1371464711","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/f8152629ff9f0f316c61a7f97a3a7b11.jpg","text":"TemporaryFile(/tmp/multipartBody7687852880672904985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752104404918,"filename":"image_10072025_01_27_01_4781.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371464711"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371464711"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.959776878356934 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:40:03.476966
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/40/image_10072025_01_40_01_9102.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/40/image_10072025_01_40_01_9102.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/40/image_10072025_01_40_01_9102.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371464822"],"photo_id":"1371464822","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/85afc116cfe7688d5eef2df1637d7c1b.jpg","text":"TemporaryFile(/tmp/multipartBody5636426501271716882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752104464435,"filename":"image_10072025_01_40_01_9102.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371464822"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371464822"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.269972324371338 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:41:05.499034
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/38/image_10072025_01_38_01_2719.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/38/image_10072025_01_38_01_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/38/image_10072025_01_38_01_2719.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371464880"],"photo_id":"1371464880","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/7cc9fd4dba162775b20486699fc0186f.jpg","text":"TemporaryFile(/tmp/multipartBody4443027193946774565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752104526831,"filename":"image_10072025_01_38_01_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371464880"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371464880"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.422789573669434 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:42:04.244774
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/41/image_10072025_01_41_01_9783.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/41/image_10072025_01_41_01_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/41/image_10072025_01_41_01_9783.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371464923"],"photo_id":"1371464923","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/e9588e85a3b26742d69cbe1a6a5ef8d0.jpg","text":"TemporaryFile(/tmp/multipartBody5799454269961130585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752104585449,"filename":"image_10072025_01_41_01_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371464923"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371464923"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.145148754119873 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:43:03.569200
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/42/image_10072025_01_42_01_7096.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/42/image_10072025_01_42_01_7096.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/42/image_10072025_01_42_01_7096.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371464989"],"photo_id":"1371464989","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/56583d2f9f6a480b56a1eb71e7a388ae.jpg","text":"TemporaryFile(/tmp/multipartBody7512059544206702262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752104644568,"filename":"image_10072025_01_42_01_7096.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371464989"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371464989"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.9769606590271 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:44:03.448854
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/43/image_10072025_01_43_02_0095.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/43/image_10072025_01_43_02_0095.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/43/image_10072025_01_43_02_0095.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371465056"],"photo_id":"1371465056","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/e68d959a1b61d4913a5a9b42a9ee890f.jpg","text":"TemporaryFile(/tmp/multipartBody246095781259065250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752104704431,"filename":"image_10072025_01_43_02_0095.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371465056"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371465056"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.740302801132202 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:45:04.314103
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/44/image_10072025_01_44_01_7054.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/44/image_10072025_01_44_01_7054.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/44/image_10072025_01_44_01_7054.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371465091"],"photo_id":"1371465091","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/360dbcb87e5eff551c35fbb3ed90d95d.jpg","text":"TemporaryFile(/tmp/multipartBody8777557782091141206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752104765368,"filename":"image_10072025_01_44_01_7054.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371465091"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371465091"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.81430172920227 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:46:04.099753
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/45/image_10072025_01_45_01_6366.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/45/image_10072025_01_45_01_6366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/45/image_10072025_01_45_01_6366.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371465120"],"photo_id":"1371465120","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/9b08f37ecc8bed97114c4bca584fec91.jpg","text":"TemporaryFile(/tmp/multipartBody926971018789034320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752104825104,"filename":"image_10072025_01_45_01_6366.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371465120"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371465120"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.926257848739624 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:47:04.734304
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:48:02.872138
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/46/image_10072025_01_46_01_9413.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/46/image_10072025_01_46_01_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/46/image_10072025_01_46_01_9413.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371465187"],"photo_id":"1371465187","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/681c2ca1b296f44672e796fb623493bb.jpg","text":"TemporaryFile(/tmp/multipartBody2606860358106277000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752104943832,"filename":"image_10072025_01_46_01_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371465187"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371465187"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.340033292770386 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:49:05.374216
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/48/image_10072025_01_48_01_8715.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/48/image_10072025_01_48_01_8715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/48/image_10072025_01_48_01_8715.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371465227"],"photo_id":"1371465227","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/bff3a71bab6cffe6646cf141a146bce5.jpg","text":"TemporaryFile(/tmp/multipartBody2354305471350407580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752105006646,"filename":"image_10072025_01_48_01_8715.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371465227"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371465227"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.667850732803345 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:50:04.933549
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/49/image_10072025_01_49_01_2833.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/49/image_10072025_01_49_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/01/49/image_10072025_01_49_01_2833.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371465270"],"photo_id":"1371465270","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/2f09fccf6b19cfa2de2952d99e1181d8.jpg","text":"TemporaryFile(/tmp/multipartBody2090398531379832456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752105066164,"filename":"image_10072025_01_49_01_2833.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371465270"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371465270"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.700381755828857 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:51:04.065836
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/50/image_10072025_01_50_01_9099.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/50/image_10072025_01_50_01_9099.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/50/image_10072025_01_50_01_9099.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371465294"],"photo_id":"1371465294","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/2376e69ff1c14223dbed0f1719168577.jpg","text":"TemporaryFile(/tmp/multipartBody8129963991026187948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752105125155,"filename":"image_10072025_01_50_01_9099.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371465294"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371465294"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.785573720932007 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:52:03.748008
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/51/image_10072025_01_51_02_1731.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/51/image_10072025_01_51_02_1731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/51/image_10072025_01_51_02_1731.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371465344"],"photo_id":"1371465344","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/3d470cabe022952134aa671ba50a5145.jpg","text":"TemporaryFile(/tmp/multipartBody6849097186579261883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752105184939,"filename":"image_10072025_01_51_02_1731.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371465344"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371465344"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.675824880599976 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:53:03.822670
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/52/image_10072025_01_52_01_3280.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/52/image_10072025_01_52_01_3280.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/52/image_10072025_01_52_01_3280.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371465391"],"photo_id":"1371465391","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/04ec36baf70c530e962361d977d6d809.jpg","text":"TemporaryFile(/tmp/multipartBody7571587831174951328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752105244835,"filename":"image_10072025_01_52_01_3280.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371465391"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371465391"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.590373516082764 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:54:04.368091
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/53/image_10072025_01_53_01_3711.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/53/image_10072025_01_53_01_3711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/53/image_10072025_01_53_01_3711.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371465435"],"photo_id":"1371465435","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/619af94d5fc9da145308e9833d9b0a51.jpg","text":"TemporaryFile(/tmp/multipartBody2600020935058537422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752105305342,"filename":"image_10072025_01_53_01_3711.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371465435"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371465435"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.507720470428467 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:55:03.594858
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/54/image_10072025_01_54_01_3947.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/54/image_10072025_01_54_01_3947.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/54/image_10072025_01_54_01_3947.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371465473"],"photo_id":"1371465473","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/8eba032be65b5c06e08f3c71beb9066a.jpg","text":"TemporaryFile(/tmp/multipartBody7941590187967816346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752105364652,"filename":"image_10072025_01_54_01_3947.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371465473"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371465473"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.664233922958374 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:56:03.103408
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/55/image_10072025_01_55_02_1657.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/55/image_10072025_01_55_02_1657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/55/image_10072025_01_55_02_1657.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371465514"],"photo_id":"1371465514","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/417877af8f74b08901719fb2eb87e4dd.jpg","text":"TemporaryFile(/tmp/multipartBody8414555880073945896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752105424085,"filename":"image_10072025_01_55_02_1657.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371465514"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371465514"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.315358400344849 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:57:05.006572
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/56/image_10072025_01_56_01_3139.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/56/image_10072025_01_56_01_3139.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/56/image_10072025_01_56_01_3139.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371465689"],"photo_id":"1371465689","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/941598b707479926f2cdb671772d88dd.jpg","text":"TemporaryFile(/tmp/multipartBody8415116969160463430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752105486068,"filename":"image_10072025_01_56_01_3139.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371465689"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371465689"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.600898504257202 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 01:59:03.935339
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/58/image_10072025_01_58_02_0157.jpg', 2), ('/home/pi/Desktop/images/10072025/01/57/image_10072025_01_57_01_2090.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/58/image_10072025_01_58_02_0157.jpg', '/home/pi/Desktop/images/10072025/01/57/image_10072025_01_57_01_2090.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/58/image_10072025_01_58_02_0157.jpg
/home/pi/Desktop/images/10072025/01/57/image_10072025_01_57_01_2090.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371466692","1371466758"],"photo_ids_order":["1371466692","1371466758"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/8b785a7fb3a3287f944981c71029c3d4.jpg","text":"TemporaryFile(/tmp/multipartBody334601989911547591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752105605599,"filename":"image_10072025_01_58_02_0157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/ee47683563db78a8d46e88ba7be4d639.jpg","text":"TemporaryFile(/tmp/multipartBody331561256527885557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752105605599,"filename":"image_10072025_01_57_01_2090.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371466758","file0":"1371466692"},"map_files_photo_id_array":[{"photo_id":"1371466758","filename":"file1"},{"photo_id":"1371466692","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371466692":["hashtag1","hashtag2"]},{"1371466758":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371466692, 1371466758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.467052936553955 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:00:04.448842
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/01/59/image_10072025_01_59_01_8794.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/01/59/image_10072025_01_59_01_8794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/01/59/image_10072025_01_59_01_8794.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371467130"],"photo_id":"1371467130","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/c1ac9ccb6836cf487ec62e91cf8bb14a.jpg","text":"TemporaryFile(/tmp/multipartBody2551617681448001276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752105665701,"filename":"image_10072025_01_59_01_8794.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371467130"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371467130"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.821982145309448 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:01:05.546787
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:02:03.548122
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:03:04.249352
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:04:03.536097
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:05:03.091323
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:06:03.249853
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/00/image_10072025_02_00_01_4251.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/00/image_10072025_02_00_01_4251.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/00/image_10072025_02_00_01_4251.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371467790"],"photo_id":"1371467790","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/59979ffcb06d928be44daf180a20674e.jpg","text":"TemporaryFile(/tmp/multipartBody7543980935612651033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752106024224,"filename":"image_10072025_02_00_01_4251.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371467790"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371467790"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.86509084701538 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:07:04.611893
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/06/image_10072025_02_06_01_1946.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/06/image_10072025_02_06_01_1946.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/06/image_10072025_02_06_01_1946.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371467839"],"photo_id":"1371467839","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/43a7e654d2d51a8a15d927ed02b53115.jpg","text":"TemporaryFile(/tmp/multipartBody8780132509685782853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752106085702,"filename":"image_10072025_02_06_01_1946.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371467839"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371467839"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.8980073928833 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:08:03.932357
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/07/image_10072025_02_07_01_4852.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/07/image_10072025_02_07_01_4852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/07/image_10072025_02_07_01_4852.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371467883"],"photo_id":"1371467883","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/fb130e00e50da3e1745e1cc018a86b4e.jpg","text":"TemporaryFile(/tmp/multipartBody347817388403233884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752106144947,"filename":"image_10072025_02_07_01_4852.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371467883"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371467883"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.23499631881714 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:09:03.492436
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/08/image_10072025_02_08_02_1242.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/08/image_10072025_02_08_02_1242.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/08/image_10072025_02_08_02_1242.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371467922"],"photo_id":"1371467922","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/97f09f361911f37389493c95bc70b014.jpg","text":"TemporaryFile(/tmp/multipartBody5205926374189609753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752106204590,"filename":"image_10072025_02_08_02_1242.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371467922"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371467922"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.084542274475098 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:10:04.073193
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/09/image_10072025_02_09_01_8792.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/09/image_10072025_02_09_01_8792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/09/image_10072025_02_09_01_8792.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371467992"],"photo_id":"1371467992","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/f11ebf006d2e7defaf393a79c6f2e3ec.jpg","text":"TemporaryFile(/tmp/multipartBody5810427544860140157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752106265120,"filename":"image_10072025_02_09_01_8792.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371467992"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371467992"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.599884033203125 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:11:03.527255
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:12:03.493715
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/10/image_10072025_02_10_01_5852.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/10/image_10072025_02_10_01_5852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/10/image_10072025_02_10_01_5852.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371468069"],"photo_id":"1371468069","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/c614af5bdb6d1a55d3af3859768937a6.jpg","text":"TemporaryFile(/tmp/multipartBody5010718900667361969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752106384464,"filename":"image_10072025_02_10_01_5852.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371468069"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371468069"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.342578887939453 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:13:04.314013
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/12/image_10072025_02_12_01_3857.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/12/image_10072025_02_12_01_3857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/12/image_10072025_02_12_01_3857.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371468111"],"photo_id":"1371468111","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/7d16a4d6b96eb7f03e17a0a362f48d9c.jpg","text":"TemporaryFile(/tmp/multipartBody5349802576642969559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752106445382,"filename":"image_10072025_02_12_01_3857.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371468111"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371468111"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.065571308135986 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:14:03.809557
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/13/image_10072025_02_13_01_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/13/image_10072025_02_13_01_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/13/image_10072025_02_13_01_9563.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371468147"],"photo_id":"1371468147","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/3b1ced11a8aa77e7722ee396e4f8ba8f.jpg","text":"TemporaryFile(/tmp/multipartBody3296078107349850455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752106504925,"filename":"image_10072025_02_13_01_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371468147"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371468147"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.867928504943848 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:15:03.773656
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/14/image_10072025_02_14_01_7023.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/14/image_10072025_02_14_01_7023.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/14/image_10072025_02_14_01_7023.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371468194"],"photo_id":"1371468194","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/cfe1887599ae10bb0860022866d331bb.jpg","text":"TemporaryFile(/tmp/multipartBody809358112013189942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752106564820,"filename":"image_10072025_02_14_01_7023.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371468194"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371468194"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.80980896949768 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:16:03.073671
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/15/image_10072025_02_15_02_2454.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/15/image_10072025_02_15_02_2454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/15/image_10072025_02_15_02_2454.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371468221"],"photo_id":"1371468221","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/63c41340c1c0cb359cef60d57a433047.jpg","text":"TemporaryFile(/tmp/multipartBody5727275674604738284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752106624079,"filename":"image_10072025_02_15_02_2454.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371468221"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371468221"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.80164074897766 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:17:04.451693
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/16/image_10072025_02_16_01_6849.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/16/image_10072025_02_16_01_6849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/16/image_10072025_02_16_01_6849.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371468261"],"photo_id":"1371468261","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/5147d24832a791cbd215ff5f12cd5ca4.jpg","text":"TemporaryFile(/tmp/multipartBody6751959694587874960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752106685462,"filename":"image_10072025_02_16_01_6849.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371468261"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371468261"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.987826824188232 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:18:04.117960
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/17/image_10072025_02_17_01_4730.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/17/image_10072025_02_17_01_4730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/17/image_10072025_02_17_01_4730.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371468296"],"photo_id":"1371468296","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/51b2c53fd7b23737260d9028afa90ccc.jpg","text":"TemporaryFile(/tmp/multipartBody4954371137435870991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752106745108,"filename":"image_10072025_02_17_01_4730.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371468296"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371468296"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.003511190414429 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:19:03.858131
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/18/image_10072025_02_18_01_8955.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/18/image_10072025_02_18_01_8955.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/18/image_10072025_02_18_01_8955.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371468330"],"photo_id":"1371468330","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/e2ce5f14ecf747985418c93f453153a9.jpg","text":"TemporaryFile(/tmp/multipartBody6133937932076526741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752106804841,"filename":"image_10072025_02_18_01_8955.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371468330"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371468330"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.900531530380249 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:20:03.999282
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/19/image_10072025_02_19_02_1846.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/19/image_10072025_02_19_02_1846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/19/image_10072025_02_19_02_1846.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371468367"],"photo_id":"1371468367","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/3812ca091021f0e408468c7bc673051c.jpg","text":"TemporaryFile(/tmp/multipartBody5839650862880730849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752106865097,"filename":"image_10072025_02_19_02_1846.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371468367"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371468367"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.716747999191284 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:21:04.313939
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/20/image_10072025_02_20_01_5030.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/20/image_10072025_02_20_01_5030.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/20/image_10072025_02_20_01_5030.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371468398"],"photo_id":"1371468398","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/e500eae02d8016c844792b51d8bf4c2d.jpg","text":"TemporaryFile(/tmp/multipartBody4374239658570824482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752106925458,"filename":"image_10072025_02_20_01_5030.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371468398"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371468398"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.027973890304565 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:22:03.712257
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/21/image_10072025_02_21_02_1835.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/21/image_10072025_02_21_02_1835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/21/image_10072025_02_21_02_1835.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371468431"],"photo_id":"1371468431","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/59acf3305fc1d101d8c98217632c914b.jpg","text":"TemporaryFile(/tmp/multipartBody8186381993405465513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752106984723,"filename":"image_10072025_02_21_02_1835.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371468431"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371468431"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.603922605514526 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:23:03.640518
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/22/image_10072025_02_22_01_5498.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/22/image_10072025_02_22_01_5498.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/22/image_10072025_02_22_01_5498.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371468473"],"photo_id":"1371468473","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/18c9e59f6dceae0a21c30ebda1b19d37.jpg","text":"TemporaryFile(/tmp/multipartBody3803238594273416628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752107044607,"filename":"image_10072025_02_22_01_5498.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371468473"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371468473"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.208089590072632 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:24:03.413890
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/23/image_10072025_02_23_01_6876.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/23/image_10072025_02_23_01_6876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/23/image_10072025_02_23_01_6876.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371468510"],"photo_id":"1371468510","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/a2093ce88bdad944f935fcd083b0a144.jpg","text":"TemporaryFile(/tmp/multipartBody5497037011932353658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752107104455,"filename":"image_10072025_02_23_01_6876.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371468510"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371468510"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.31431746482849 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:25:05.573261
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:26:03.579251
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/24/image_10072025_02_24_01_4343.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/24/image_10072025_02_24_01_4343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/24/image_10072025_02_24_01_4343.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371468586"],"photo_id":"1371468586","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/9c6583c42921d0fabd099f9cbb91881b.jpg","text":"TemporaryFile(/tmp/multipartBody4605002723363948489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752107224739,"filename":"image_10072025_02_24_01_4343.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371468586"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371468586"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.113506317138672 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:27:04.547186
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:28:02.864542
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:29:04.017052
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 2 files
1 photos no longer on disk
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/02/30/image_10072025_02_30_01_9290.jpg', 2), ('/home/pi/Desktop/images/10072025/02/26/image_10072025_02_26_01_4872.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/26/image_10072025_02_26_01_4872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/26/image_10072025_02_26_01_4872.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371468716"],"photo_id":"1371468716","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/5fcbec4f2cc89c703dc6039f91187ce3.jpg","text":"TemporaryFile(/tmp/multipartBody728949869239413069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752107405520,"filename":"image_10072025_02_26_01_4872.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371468716"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371468716"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.831312656402588 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/10072025/02/30/image_10072025_02_30_01_9290.jpg'],)
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:30:03.402853
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:31:03.299707
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/29/image_10072025_02_29_01_2811.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/29/image_10072025_02_29_01_2811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/29/image_10072025_02_29_01_2811.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371468973"],"photo_id":"1371468973","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/613153670867422be3b146ab68b57611.jpg","text":"TemporaryFile(/tmp/multipartBody1306348852080495447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752107524407,"filename":"image_10072025_02_29_01_2811.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371468973"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371468973"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.127385139465332 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:32:03.472431
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/31/image_10072025_02_31_01_9211.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/31/image_10072025_02_31_01_9211.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/31/image_10072025_02_31_01_9211.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371469012"],"photo_id":"1371469012","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/2ab830e3af8370257ea718673e5f11f6.jpg","text":"TemporaryFile(/tmp/multipartBody7049863689631113470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752107584484,"filename":"image_10072025_02_31_01_9211.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371469012"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371469012"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.911213159561157 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:33:04.218673
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/32/image_10072025_02_32_01_4527.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/32/image_10072025_02_32_01_4527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/32/image_10072025_02_32_01_4527.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371469059"],"photo_id":"1371469059","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/a0be0a813f863457dccc4ef8a98e106c.jpg","text":"TemporaryFile(/tmp/multipartBody5462220924465817564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752107645407,"filename":"image_10072025_02_32_01_4527.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371469059"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371469059"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.568154096603394 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:34:03.644344
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/33/image_10072025_02_33_01_9037.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/33/image_10072025_02_33_01_9037.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/33/image_10072025_02_33_01_9037.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371469105"],"photo_id":"1371469105","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/9a42ea36067840e0aee88492969ddead.jpg","text":"TemporaryFile(/tmp/multipartBody1462131775897391236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752107704945,"filename":"image_10072025_02_33_01_9037.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371469105"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371469105"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.922441482543945 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:35:04.695617
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/34/image_10072025_02_34_01_5641.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/34/image_10072025_02_34_01_5641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/34/image_10072025_02_34_01_5641.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371469143"],"photo_id":"1371469143","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/2b99816bb4f6d891c4cbb00f8ff8e29f.jpg","text":"TemporaryFile(/tmp/multipartBody6503444600493071092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752107765743,"filename":"image_10072025_02_34_01_5641.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371469143"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371469143"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.44272780418396 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:36:04.176337
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/35/image_10072025_02_35_01_4987.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/35/image_10072025_02_35_01_4987.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/35/image_10072025_02_35_01_4987.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.9103031158447266 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 -f /home/pi/Desktop/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 02:37:03.720188
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/35/image_10072025_02_35_01_4987.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/35/image_10072025_02_35_01_4987.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/35/image_10072025_02_35_01_4987.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371469380"],"photo_id":"1371469380","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/b114418218db04321c6df092ca8aa106.jpg","text":"TemporaryFile(/tmp/multipartBody7526611096529466374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752107884718,"filename":"image_10072025_02_35_01_4987.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371469380"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371469380"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.31194806098938 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:38:04.683426
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:39:04.083903
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/36/image_10072025_02_36_02_1667.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/36/image_10072025_02_36_02_1667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/36/image_10072025_02_36_02_1667.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371469451"],"photo_id":"1371469451","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/ec52c1e953a0f0fc37b436a1ab93173b.jpg","text":"TemporaryFile(/tmp/multipartBody3152938123592025989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752108005160,"filename":"image_10072025_02_36_02_1667.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371469451"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371469451"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.40210485458374 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:40:03.550019
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:41:03.642700
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:42:03.625151
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:43:04.335510
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/39/image_10072025_02_39_01_6334.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/39/image_10072025_02_39_01_6334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/39/image_10072025_02_39_01_6334.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371469620"],"photo_id":"1371469620","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/8fcc8f7637c0b25d360e5fb1215048e3.jpg","text":"TemporaryFile(/tmp/multipartBody6941533168078946471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752108245462,"filename":"image_10072025_02_39_01_6334.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371469620"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371469620"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.272469758987427 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:44:03.507219
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/43/image_10072025_02_43_02_0614.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/43/image_10072025_02_43_02_0614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/43/image_10072025_02_43_02_0614.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371469654"],"photo_id":"1371469654","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/abb22d32fa87aa2fff4eb19b79ff54ce.jpg","text":"TemporaryFile(/tmp/multipartBody6970092855721997536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752108304637,"filename":"image_10072025_02_43_02_0614.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371469654"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371469654"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.70899224281311 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:45:03.417263
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/44/image_10072025_02_44_02_0338.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/44/image_10072025_02_44_02_0338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/44/image_10072025_02_44_02_0338.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371469692"],"photo_id":"1371469692","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/7b3c84ce445080c764b72fbde7005ebd.jpg","text":"TemporaryFile(/tmp/multipartBody1569521598149989639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752108364417,"filename":"image_10072025_02_44_02_0338.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371469692"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371469692"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.334468126296997 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:46:03.959621
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/45/image_10072025_02_45_01_3591.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/45/image_10072025_02_45_01_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/45/image_10072025_02_45_01_3591.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371469751"],"photo_id":"1371469751","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/549ec0fe745340148aef09259da784e6.jpg","text":"TemporaryFile(/tmp/multipartBody6759083391901219254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752108424952,"filename":"image_10072025_02_45_01_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371469751"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371469751"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.795878887176514 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:47:04.892739
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/46/image_10072025_02_46_01_4653.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/46/image_10072025_02_46_01_4653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/46/image_10072025_02_46_01_4653.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371469823"],"photo_id":"1371469823","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/ba867e150ff71caea8d6594dd1c6727e.jpg","text":"TemporaryFile(/tmp/multipartBody749040153610731263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752108486284,"filename":"image_10072025_02_46_01_4653.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371469823"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371469823"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.730144739151001 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:48:03.992399
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/47/image_10072025_02_47_01_6557.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/47/image_10072025_02_47_01_6557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/47/image_10072025_02_47_01_6557.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371469919"],"photo_id":"1371469919","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/4e460f47f582803a93f3abf597cd37a5.jpg","text":"TemporaryFile(/tmp/multipartBody5717457848876999402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752108545219,"filename":"image_10072025_02_47_01_6557.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371469919"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371469919"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.700836896896362 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:49:03.860251
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/48/image_10072025_02_48_01_7815.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/48/image_10072025_02_48_01_7815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/48/image_10072025_02_48_01_7815.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371470010"],"photo_id":"1371470010","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/0972bb2efd61e59da22a1cfcb547986c.jpg","text":"TemporaryFile(/tmp/multipartBody61975950960640955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752108604918,"filename":"image_10072025_02_48_01_7815.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371470010"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371470010"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.14486861228943 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:50:04.560860
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/49/image_10072025_02_49_01_8078.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/49/image_10072025_02_49_01_8078.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/49/image_10072025_02_49_01_8078.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371470088"],"photo_id":"1371470088","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/c4d481a65bb8275ce32e6a1e92a58d6a.jpg","text":"TemporaryFile(/tmp/multipartBody1901379664403022462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752108665800,"filename":"image_10072025_02_49_01_8078.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371470088"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371470088"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.875778675079346 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:51:03.939681
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/50/image_10072025_02_50_01_8592.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/50/image_10072025_02_50_01_8592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/50/image_10072025_02_50_01_8592.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371470116"],"photo_id":"1371470116","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/f479d89754c121d0a4d369180e5a7ecf.jpg","text":"TemporaryFile(/tmp/multipartBody4260096315319191505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752108724987,"filename":"image_10072025_02_50_01_8592.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371470116"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371470116"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.523320436477661 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:52:02.948733
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/51/image_10072025_02_51_01_7270.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/51/image_10072025_02_51_01_7270.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/51/image_10072025_02_51_01_7270.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.8996155261993408 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 -f /home/pi/Desktop/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 02:53:03.541227
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/52/image_10072025_02_52_01_4577.jpg', 2), ('/home/pi/Desktop/images/10072025/02/51/image_10072025_02_51_01_7270.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/52/image_10072025_02_52_01_4577.jpg', '/home/pi/Desktop/images/10072025/02/51/image_10072025_02_51_01_7270.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/52/image_10072025_02_52_01_4577.jpg
/home/pi/Desktop/images/10072025/02/51/image_10072025_02_51_01_7270.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371470189","1371470183"],"photo_ids_order":["1371470183","1371470189"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/3ecd9b0d8db7280d23394e9a8e969a73.jpg","text":"TemporaryFile(/tmp/multipartBody2720801198563235239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752108844900,"filename":"image_10072025_02_51_01_7270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/8d24f718a19749a8e154cb9a4748b082.jpg","text":"TemporaryFile(/tmp/multipartBody4558708903232623368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752108844900,"filename":"image_10072025_02_52_01_4577.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371470189","file0":"1371470183"},"map_files_photo_id_array":[{"photo_id":"1371470189","filename":"file1"},{"photo_id":"1371470183","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371470189":["hashtag1","hashtag2"]},{"1371470183":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371470189, 1371470183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.797019720077515 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:54:04.830622
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:55:03.424949
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/53/image_10072025_02_53_01_2464.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/53/image_10072025_02_53_01_2464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/53/image_10072025_02_53_01_2464.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371470363"],"photo_id":"1371470363","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/746fcdf24b0e9f56d215e84822eb7e52.jpg","text":"TemporaryFile(/tmp/multipartBody5976150743884955994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752108964517,"filename":"image_10072025_02_53_01_2464.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371470363"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371470363"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.21218204498291 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:56:03.971691
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/55/image_10072025_02_55_01_9497.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/55/image_10072025_02_55_01_9497.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/55/image_10072025_02_55_01_9497.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371470399"],"photo_id":"1371470399","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/d38e1b098222c3fda045b6c2ef1a566d.jpg","text":"TemporaryFile(/tmp/multipartBody5569950735788287443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752109025023,"filename":"image_10072025_02_55_01_9497.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371470399"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371470399"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.94207501411438 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:57:04.217477
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/56/image_10072025_02_56_01_4056.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/56/image_10072025_02_56_01_4056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/56/image_10072025_02_56_01_4056.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371470446"],"photo_id":"1371470446","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/8ff432e6f160fc225dd2786284413371.jpg","text":"TemporaryFile(/tmp/multipartBody2036091266102936275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752109085480,"filename":"image_10072025_02_56_01_4056.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371470446"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371470446"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.321341276168823 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 02:59:03.478312
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/58/image_10072025_02_58_01_7162.jpg', 2), ('/home/pi/Desktop/images/10072025/02/57/image_10072025_02_57_01_6089.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/58/image_10072025_02_58_01_7162.jpg', '/home/pi/Desktop/images/10072025/02/57/image_10072025_02_57_01_6089.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/58/image_10072025_02_58_01_7162.jpg
/home/pi/Desktop/images/10072025/02/57/image_10072025_02_57_01_6089.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371470686","1371470761"],"photo_ids_order":["1371470686","1371470761"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/8e50f838cfd13c1905f181d58a0278ab.jpg","text":"TemporaryFile(/tmp/multipartBody8871995970771481224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752109204984,"filename":"image_10072025_02_58_01_7162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/65176bf226cf15a053498130a9a836b8.jpg","text":"TemporaryFile(/tmp/multipartBody529621193915920188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752109204984,"filename":"image_10072025_02_57_01_6089.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371470761","file0":"1371470686"},"map_files_photo_id_array":[{"photo_id":"1371470761","filename":"file1"},{"photo_id":"1371470686","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371470686":["hashtag1","hashtag2"]},{"1371470761":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371470686, 1371470761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.321789264678955 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:00:03.888703
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/02/59/image_10072025_02_59_02_2771.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/02/59/image_10072025_02_59_02_2771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/02/59/image_10072025_02_59_02_2771.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371471297"],"photo_id":"1371471297","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/9858c513da95d8a04546cc57e52a5fb1.jpg","text":"TemporaryFile(/tmp/multipartBody1093002720013274814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752109264905,"filename":"image_10072025_02_59_02_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371471297"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371471297"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.22525668144226 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:01:04.111071
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/00/image_10072025_03_00_01_2989.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/00/image_10072025_03_00_01_2989.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/00/image_10072025_03_00_01_2989.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371471810"],"photo_id":"1371471810","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/e54d8d7450b2a1b7979dbf46164997e3.jpg","text":"TemporaryFile(/tmp/multipartBody7513994444283327915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752109325153,"filename":"image_10072025_03_00_01_2989.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371471810"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371471810"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.060075759887695 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:02:03.397625
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/01/image_10072025_03_01_01_6761.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/01/image_10072025_03_01_01_6761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/01/image_10072025_03_01_01_6761.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371472089"],"photo_id":"1371472089","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/cff9535bdf78caf8e91daadb88654f8d.jpg","text":"TemporaryFile(/tmp/multipartBody4078801240247096049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752109384385,"filename":"image_10072025_03_01_01_6761.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371472089"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371472089"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 19.45479106903076 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:03:03.852384
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/02/image_10072025_03_02_02_0859.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/02/image_10072025_03_02_02_0859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/02/image_10072025_03_02_02_0859.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371472322"],"photo_id":"1371472322","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/ee2d62a816bbbe9a30556211628640e8.jpg","text":"TemporaryFile(/tmp/multipartBody8589939941533241667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752109444978,"filename":"image_10072025_03_02_02_0859.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371472322"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371472322"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.038196563720703 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:04:04.809494
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/03/image_10072025_03_03_01_4447.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/03/image_10072025_03_03_01_4447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/03/image_10072025_03_03_01_4447.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371472606"],"photo_id":"1371472606","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/2a7e6faee377e0a37397afd540f1ca4d.jpg","text":"TemporaryFile(/tmp/multipartBody3552400789313179410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752109505860,"filename":"image_10072025_03_03_01_4447.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371472606"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371472606"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.55441403388977 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:05:05.272291
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/04/image_10072025_03_04_01_3364.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/04/image_10072025_03_04_01_3364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/04/image_10072025_03_04_01_3364.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371472689"],"photo_id":"1371472689","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/e19df7369566a2f0b1cdba219654d99b.jpg","text":"TemporaryFile(/tmp/multipartBody8877207016048356864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752109566460,"filename":"image_10072025_03_04_01_3364.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371472689"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371472689"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.888460159301758 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:06:03.984842
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/05/image_10072025_03_05_02_0573.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/05/image_10072025_03_05_02_0573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/05/image_10072025_03_05_02_0573.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371472733"],"photo_id":"1371472733","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/d6f5fc82793e6bd5e144b71588ec0a7e.jpg","text":"TemporaryFile(/tmp/multipartBody4529884780864235679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752109624982,"filename":"image_10072025_03_05_02_0573.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371472733"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371472733"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.725165367126465 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:07:04.463964
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/06/image_10072025_03_06_01_9791.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/06/image_10072025_03_06_01_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/06/image_10072025_03_06_01_9791.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371472770"],"photo_id":"1371472770","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/f682c061229af66141cab8a80f0755d1.jpg","text":"TemporaryFile(/tmp/multipartBody3111353930352092404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752109685886,"filename":"image_10072025_03_06_01_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371472770"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371472770"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.146478414535522 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:08:04.849305
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/07/image_10072025_03_07_01_7390.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/07/image_10072025_03_07_01_7390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/07/image_10072025_03_07_01_7390.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371472823"],"photo_id":"1371472823","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/d77781de43ab357ca99f11d47a80dbae.jpg","text":"TemporaryFile(/tmp/multipartBody1763306101097856930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752109746041,"filename":"image_10072025_03_07_01_7390.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371472823"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371472823"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.338723421096802 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:09:03.941723
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:10:02.729090
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/08/image_10072025_03_08_01_7633.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/08/image_10072025_03_08_01_7633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/08/image_10072025_03_08_01_7633.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371472907"],"photo_id":"1371472907","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/b28c38de366482e46d654c0756b7f677.jpg","text":"TemporaryFile(/tmp/multipartBody8962315364403846171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752109863721,"filename":"image_10072025_03_08_01_7633.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371472907"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371472907"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.384121417999268 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:11:04.159841
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:12:02.754419
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:13:03.337761
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:14:03.390389
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:15:03.743170
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:16:03.003488
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:17:05.120627
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/10/image_10072025_03_10_01_2642.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/10/image_10072025_03_10_01_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/10/image_10072025_03_10_01_2642.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371473107"],"photo_id":"1371473107","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/46bedef384d49ed8c89a109f7c0b4601.jpg","text":"TemporaryFile(/tmp/multipartBody3063258909064154301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752110286479,"filename":"image_10072025_03_10_01_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371473107"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371473107"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.893561363220215 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:18:05.136521
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/17/image_10072025_03_17_01_6153.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/17/image_10072025_03_17_01_6153.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/17/image_10072025_03_17_01_6153.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371473137"],"photo_id":"1371473137","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/5b224f07781e01d3d3199a43124fce50.jpg","text":"TemporaryFile(/tmp/multipartBody8291467736567420609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752110346424,"filename":"image_10072025_03_17_01_6153.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371473137"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371473137"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.282395839691162 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:19:04.271059
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 1 files
1 photos no longer on disk
no photos to upload
time to upload: 0.5992186069488525 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/10072025/03/20/image_10072025_03_20_01_8009.jpg'],)
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/03/20/image_10072025_03_20_01_8009.jpg', 2)]
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:20:03.482443
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:21:03.841814
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/18/image_10072025_03_18_02_1544.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/18/image_10072025_03_18_02_1544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/18/image_10072025_03_18_02_1544.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371473222"],"photo_id":"1371473222","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/6aaed9e8211e64dbbf48d0cd311e72cd.jpg","text":"TemporaryFile(/tmp/multipartBody1941339887930195261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752110524875,"filename":"image_10072025_03_18_02_1544.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371473222"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371473222"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.910450220108032 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:22:04.368993
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/21/image_10072025_03_21_01_9911.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/21/image_10072025_03_21_01_9911.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/21/image_10072025_03_21_01_9911.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371473277"],"photo_id":"1371473277","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/e5bc72b4d2fe329735e574e16dc2eff3.jpg","text":"TemporaryFile(/tmp/multipartBody4560741546016099261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752110585510,"filename":"image_10072025_03_21_01_9911.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371473277"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371473277"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.727046966552734 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:23:03.789980
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:24:03.054242
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/22/image_10072025_03_22_01_9283.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/22/image_10072025_03_22_01_9283.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/22/image_10072025_03_22_01_9283.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371473312"],"photo_id":"1371473312","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/8ed1bca86236c080ebc66c9f85cce852.jpg","text":"TemporaryFile(/tmp/multipartBody6028026418590272439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752110704137,"filename":"image_10072025_03_22_01_9283.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371473312"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371473312"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.608770847320557 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:25:06.304253
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/24/image_10072025_03_24_01_3181.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/24/image_10072025_03_24_01_3181.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/24/image_10072025_03_24_01_3181.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371473334"],"photo_id":"1371473334","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/2a7e855f07d56d7e7a1755c1e63208a0.jpg","text":"TemporaryFile(/tmp/multipartBody2024626639633864352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752110767735,"filename":"image_10072025_03_24_01_3181.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371473334"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371473334"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.58197546005249 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:26:05.512660
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/25/image_10072025_03_25_01_3931.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/25/image_10072025_03_25_01_3931.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/25/image_10072025_03_25_01_3931.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371473365"],"photo_id":"1371473365","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/0c228ae4600ad48c84816e86b588c49b.jpg","text":"TemporaryFile(/tmp/multipartBody2422538903997076089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752110826799,"filename":"image_10072025_03_25_01_3931.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371473365"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371473365"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.674530982971191 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:27:04.054621
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/26/image_10072025_03_26_01_5941.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/26/image_10072025_03_26_01_5941.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/26/image_10072025_03_26_01_5941.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371473392"],"photo_id":"1371473392","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/53bba0be3a385f96ed35ff984a4e8f6f.jpg","text":"TemporaryFile(/tmp/multipartBody3921623481765343118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752110885100,"filename":"image_10072025_03_26_01_5941.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371473392"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371473392"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.075338125228882 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:28:03.512827
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:29:03.474718
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:30:03.165284
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:31:03.692834
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:32:02.831225
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/27/image_10072025_03_27_01_8458.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/27/image_10072025_03_27_01_8458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/27/image_10072025_03_27_01_8458.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371473521"],"photo_id":"1371473521","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/5d845abee32a130d30abbab6cd0f6e83.jpg","text":"TemporaryFile(/tmp/multipartBody6272185773037420062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752111183865,"filename":"image_10072025_03_27_01_8458.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371473521"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371473521"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.78780221939087 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:33:05.458313
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/32/image_10072025_03_32_01_6600.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/32/image_10072025_03_32_01_6600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/32/image_10072025_03_32_01_6600.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371473544"],"photo_id":"1371473544","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/5bdadb9b33512200ff97d444de88d61d.jpg","text":"TemporaryFile(/tmp/multipartBody5587316130890699351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752111246933,"filename":"image_10072025_03_32_01_6600.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371473544"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371473544"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.422953605651855 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:34:04.061803
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/33/image_10072025_03_33_01_2618.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/33/image_10072025_03_33_01_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/33/image_10072025_03_33_01_2618.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371473574"],"photo_id":"1371473574","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/6965d431a5237c68d3e6d7702cb15cce.jpg","text":"TemporaryFile(/tmp/multipartBody3532295418418069450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752111305375,"filename":"image_10072025_03_33_01_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371473574"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371473574"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.273337364196777 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:35:04.364246
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/34/image_10072025_03_34_02_1719.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/34/image_10072025_03_34_02_1719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/34/image_10072025_03_34_02_1719.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371473594"],"photo_id":"1371473594","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/11f70cf6be07caa35bef8664f4fc549f.jpg","text":"TemporaryFile(/tmp/multipartBody4342443629650629377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752111365380,"filename":"image_10072025_03_34_02_1719.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371473594"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371473594"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.35714316368103 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:36:03.623042
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/35/image_10072025_03_35_01_7221.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/35/image_10072025_03_35_01_7221.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/35/image_10072025_03_35_01_7221.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371473634"],"photo_id":"1371473634","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/c0e2f3e2cf0a020124445faf91b974c9.jpg","text":"TemporaryFile(/tmp/multipartBody4882341638657165903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752111424608,"filename":"image_10072025_03_35_01_7221.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371473634"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371473634"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.338289499282837 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:37:03.976482
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/36/image_10072025_03_36_01_8192.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/36/image_10072025_03_36_01_8192.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/36/image_10072025_03_36_01_8192.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371473664"],"photo_id":"1371473664","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/4bc73179b90cf36a9c13779bbf4dc97a.jpg","text":"TemporaryFile(/tmp/multipartBody1833118506484780480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752111484966,"filename":"image_10072025_03_36_01_8192.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371473664"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371473664"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.026581525802612 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:38:04.986345
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/37/image_10072025_03_37_01_8442.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/37/image_10072025_03_37_01_8442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/37/image_10072025_03_37_01_8442.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.1439929008483887 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 -f /home/pi/Desktop/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 03:39:03.347794
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/38/image_10072025_03_38_01_9958.jpg', 2), ('/home/pi/Desktop/images/10072025/03/37/image_10072025_03_37_01_8442.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/38/image_10072025_03_38_01_9958.jpg', '/home/pi/Desktop/images/10072025/03/37/image_10072025_03_37_01_8442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/38/image_10072025_03_38_01_9958.jpg
/home/pi/Desktop/images/10072025/03/37/image_10072025_03_37_01_8442.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371473714","1371473717"],"photo_ids_order":["1371473714","1371473717"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/0a03f15af1ca26265884037aad3f8894.jpg","text":"TemporaryFile(/tmp/multipartBody5745784560652837192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752111604866,"filename":"image_10072025_03_38_01_9958.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/f9d807228f25c8bb3ddf5bb3df5c4538.jpg","text":"TemporaryFile(/tmp/multipartBody678295562295278813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752111604866,"filename":"image_10072025_03_37_01_8442.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371473717","file0":"1371473714"},"map_files_photo_id_array":[{"photo_id":"1371473717","filename":"file1"},{"photo_id":"1371473714","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371473714":["hashtag1","hashtag2"]},{"1371473717":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371473714, 1371473717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.354828119277954 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:40:05.003169
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/39/image_10072025_03_39_02_1033.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/39/image_10072025_03_39_02_1033.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/39/image_10072025_03_39_02_1033.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371473731"],"photo_id":"1371473731","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/895dda8193924cd776db7f6485ab7eb6.jpg","text":"TemporaryFile(/tmp/multipartBody1338900578953424593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752111666386,"filename":"image_10072025_03_39_02_1033.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371473731"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371473731"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.3949875831604 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:41:04.936409
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/40/image_10072025_03_40_01_5202.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/40/image_10072025_03_40_01_5202.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/40/image_10072025_03_40_01_5202.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371473762"],"photo_id":"1371473762","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/0eabae404a0b0102877681eb3887ae10.jpg","text":"TemporaryFile(/tmp/multipartBody1126467861727258807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752111726892,"filename":"image_10072025_03_40_01_5202.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371473762"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371473762"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.270665168762207 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:42:04.681776
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/41/image_10072025_03_41_01_5674.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/41/image_10072025_03_41_01_5674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/41/image_10072025_03_41_01_5674.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371473795"],"photo_id":"1371473795","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/4e820eb62e6dd00c257af7505b93f15e.jpg","text":"TemporaryFile(/tmp/multipartBody5876172579928503502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752111785758,"filename":"image_10072025_03_41_01_5674.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371473795"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371473795"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.810363292694092 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:43:03.851370
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/42/image_10072025_03_42_02_2040.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/42/image_10072025_03_42_02_2040.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/42/image_10072025_03_42_02_2040.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371473821"],"photo_id":"1371473821","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/07ce543f25ce995fab8ddc156279032d.jpg","text":"TemporaryFile(/tmp/multipartBody3227718356579282695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752111844874,"filename":"image_10072025_03_42_02_2040.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371473821"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371473821"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.02592921257019 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:44:04.437206
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/43/image_10072025_03_43_02_1331.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/43/image_10072025_03_43_02_1331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/43/image_10072025_03_43_02_1331.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371473840"],"photo_id":"1371473840","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/040cdeaceb337593f25ef2c8d867d48c.jpg","text":"TemporaryFile(/tmp/multipartBody8220787699072557831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752111905655,"filename":"image_10072025_03_43_02_1331.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371473840"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371473840"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.197436571121216 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:45:04.551277
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/44/image_10072025_03_44_01_3351.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/44/image_10072025_03_44_01_3351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/44/image_10072025_03_44_01_3351.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371473865"],"photo_id":"1371473865","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/0e9ae2852dfe40998530f17bcb90c2e9.jpg","text":"TemporaryFile(/tmp/multipartBody5833040671053677606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752111965811,"filename":"image_10072025_03_44_01_3351.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371473865"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371473865"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.910292387008667 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:46:03.892602
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:47:04.186955
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/45/image_10072025_03_45_01_4731.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/45/image_10072025_03_45_01_4731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/45/image_10072025_03_45_01_4731.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371473936"],"photo_id":"1371473936","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/c1a6a8451e7888890d27c82ecb5b1ec2.jpg","text":"TemporaryFile(/tmp/multipartBody345184585911148643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752112085696,"filename":"image_10072025_03_45_01_4731.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371473936"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371473936"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.704433917999268 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:48:03.652876
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/47/image_10072025_03_47_01_7227.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/47/image_10072025_03_47_01_7227.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/47/image_10072025_03_47_01_7227.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371473953"],"photo_id":"1371473953","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/b29dadfcb53524665beb5afd332eb833.jpg","text":"TemporaryFile(/tmp/multipartBody3861396209494087911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752112144707,"filename":"image_10072025_03_47_01_7227.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371473953"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371473953"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.828572988510132 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:49:05.645749
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:50:03.408055
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/48/image_10072025_03_48_01_6464.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/48/image_10072025_03_48_01_6464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/48/image_10072025_03_48_01_6464.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371474008"],"photo_id":"1371474008","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/97fe5095ed104e4182fb7bab98b52bb6.jpg","text":"TemporaryFile(/tmp/multipartBody5770069271044696738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752112264578,"filename":"image_10072025_03_48_01_6464.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371474008"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371474008"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.20553183555603 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:51:04.460531
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/50/image_10072025_03_50_01_9169.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/50/image_10072025_03_50_01_9169.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/50/image_10072025_03_50_01_9169.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371474035"],"photo_id":"1371474035","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/3a3ae16206fa17042a9b5947ad228d0c.jpg","text":"TemporaryFile(/tmp/multipartBody282205189002599442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752112325537,"filename":"image_10072025_03_50_01_9169.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371474035"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371474035"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.389690637588501 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:52:03.827433
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/51/image_10072025_03_51_01_2249.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/51/image_10072025_03_51_01_2249.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/51/image_10072025_03_51_01_2249.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371474056"],"photo_id":"1371474056","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/c66537050e9c08d30c1c83b433f0edbc.jpg","text":"TemporaryFile(/tmp/multipartBody3761399514195460645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752112384821,"filename":"image_10072025_03_51_01_2249.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371474056"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371474056"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.285488843917847 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:53:03.699051
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/52/image_10072025_03_52_01_8511.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/52/image_10072025_03_52_01_8511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/52/image_10072025_03_52_01_8511.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371474085"],"photo_id":"1371474085","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/8ceed974e2a4cc7280f3cc8cd7b1d6eb.jpg","text":"TemporaryFile(/tmp/multipartBody704494864725286987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752112444675,"filename":"image_10072025_03_52_01_8511.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371474085"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371474085"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.609732389450073 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:54:04.134906
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/53/image_10072025_03_53_01_6220.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/53/image_10072025_03_53_01_6220.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/53/image_10072025_03_53_01_6220.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371474115"],"photo_id":"1371474115","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/bbee8fe4520c65d183a9224f3595a4b9.jpg","text":"TemporaryFile(/tmp/multipartBody7830679762930961096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752112505182,"filename":"image_10072025_03_53_01_6220.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371474115"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371474115"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.954150915145874 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:55:04.393330
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/54/image_10072025_03_54_01_3449.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/54/image_10072025_03_54_01_3449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/54/image_10072025_03_54_01_3449.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371474230"],"photo_id":"1371474230","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/fb4951947324925f570857f5ea8ba4c0.jpg","text":"TemporaryFile(/tmp/multipartBody1477052371377055860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752112565461,"filename":"image_10072025_03_54_01_3449.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371474230"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371474230"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.875788927078247 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:56:04.087346
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/55/image_10072025_03_55_01_9273.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/55/image_10072025_03_55_01_9273.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/55/image_10072025_03_55_01_9273.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.9371623992919922 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 -f /home/pi/Desktop/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 03:57:03.322607
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/56/image_10072025_03_56_01_4098.jpg', 2), ('/home/pi/Desktop/images/10072025/03/55/image_10072025_03_55_01_9273.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/56/image_10072025_03_56_01_4098.jpg', '/home/pi/Desktop/images/10072025/03/55/image_10072025_03_55_01_9273.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/56/image_10072025_03_56_01_4098.jpg
/home/pi/Desktop/images/10072025/03/55/image_10072025_03_55_01_9273.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371474781","1371474766"],"photo_ids_order":["1371474766","1371474781"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/ecc21a4f894638bdffd39b4c8d775855.jpg","text":"TemporaryFile(/tmp/multipartBody3236621217991260502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752112684738,"filename":"image_10072025_03_55_01_9273.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/4915249b3d8fdc0c402782991c5f3560.jpg","text":"TemporaryFile(/tmp/multipartBody6294782881847812747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752112684738,"filename":"image_10072025_03_56_01_4098.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371474781","file0":"1371474766"},"map_files_photo_id_array":[{"photo_id":"1371474781","filename":"file1"},{"photo_id":"1371474766","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371474781":["hashtag1","hashtag2"]},{"1371474766":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371474781, 1371474766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.530736684799194 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 03:59:04.267564
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/58/image_10072025_03_58_01_4151.jpg', 2), ('/home/pi/Desktop/images/10072025/03/57/image_10072025_03_57_01_4215.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/58/image_10072025_03_58_01_4151.jpg', '/home/pi/Desktop/images/10072025/03/57/image_10072025_03_57_01_4215.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/58/image_10072025_03_58_01_4151.jpg
/home/pi/Desktop/images/10072025/03/57/image_10072025_03_57_01_4215.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371474892","1371474896"],"photo_ids_order":["1371474892","1371474896"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/91bea925e1a18ecf3c3dd16ef0521d44.jpg","text":"TemporaryFile(/tmp/multipartBody1437665641352422273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752112806075,"filename":"image_10072025_03_58_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/10/db3de8eca6aef5506026063261e31636.jpg","text":"TemporaryFile(/tmp/multipartBody3148650303292965243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752112806075,"filename":"image_10072025_03_57_01_4215.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371474896","file0":"1371474892"},"map_files_photo_id_array":[{"photo_id":"1371474896","filename":"file1"},{"photo_id":"1371474892","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371474892":["hashtag1","hashtag2"]},{"1371474896":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371474892, 1371474896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 26.69099497795105 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:00:04.196470
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:01:03.809841
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/03/59/image_10072025_03_59_02_2381.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/03/59/image_10072025_03_59_02_2381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/03/59/image_10072025_03_59_02_2381.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371474973"],"photo_id":"1371474973","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/c6e3e252c34ff29523a6058f3cd58ba7.jpg","text":"TemporaryFile(/tmp/multipartBody3015844946747651295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752112924935,"filename":"image_10072025_03_59_02_2381.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371474973"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371474973"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.548657655715942 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:02:03.260779
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/01/image_10072025_04_01_01_8075.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/01/image_10072025_04_01_01_8075.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/01/image_10072025_04_01_01_8075.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371475021"],"photo_id":"1371475021","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/9b925c280ab6348eb6ac652e714b0fac.jpg","text":"TemporaryFile(/tmp/multipartBody2423070572683534221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752112984306,"filename":"image_10072025_04_01_01_8075.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371475021"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371475021"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.024346828460693 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:03:03.812991
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:04:03.339348
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:05:04.060024
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:06:03.742395
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:07:04.226673
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/02/image_10072025_04_02_01_8642.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/02/image_10072025_04_02_01_8642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/02/image_10072025_04_02_01_8642.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371475188"],"photo_id":"1371475188","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/944a10f3e39c9a63804338daa47e6804.jpg","text":"TemporaryFile(/tmp/multipartBody2776709564287914831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752113285285,"filename":"image_10072025_04_02_01_8642.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371475188"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371475188"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.20989465713501 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:08:02.979104
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/07/image_10072025_04_07_02_0993.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/07/image_10072025_04_07_02_0993.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/07/image_10072025_04_07_02_0993.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371475214"],"photo_id":"1371475214","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/a34ef6ceb112476bc5a5d9a4b24aa3e4.jpg","text":"TemporaryFile(/tmp/multipartBody8949882976591517794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752113344000,"filename":"image_10072025_04_07_02_0993.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371475214"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371475214"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.253203392028809 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:09:03.704133
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/08/image_10072025_04_08_02_1789.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/08/image_10072025_04_08_02_1789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/08/image_10072025_04_08_02_1789.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371475249"],"photo_id":"1371475249","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/db6cab4b4e4f6b4aa0d9db4cfdc31a03.jpg","text":"TemporaryFile(/tmp/multipartBody4045926600258618591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752113404809,"filename":"image_10072025_04_08_02_1789.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371475249"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371475249"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.723123788833618 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:10:02.854007
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/10/image_10072025_04_10_01_7572.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/10/image_10072025_04_10_01_7572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/10/image_10072025_04_10_01_7572.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371475302"],"photo_id":"1371475302","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/7d9c303b7d7119412cae8c6c6677f1a3.jpg","text":"TemporaryFile(/tmp/multipartBody6846846455578920630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752113463847,"filename":"image_10072025_04_10_01_7572.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371475302"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371475302"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.188026428222656 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:11:03.863056
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/09/image_10072025_04_09_01_3929.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/09/image_10072025_04_09_01_3929.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/09/image_10072025_04_09_01_3929.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371475337"],"photo_id":"1371475337","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/1aa9abe47dc3ad6f5a0eeb685d75cf78.jpg","text":"TemporaryFile(/tmp/multipartBody5734281612282952958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752113525237,"filename":"image_10072025_04_09_01_3929.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371475337"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371475337"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.76324439048767 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:12:04.143750
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/11/image_10072025_04_11_01_3384.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/11/image_10072025_04_11_01_3384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/11/image_10072025_04_11_01_3384.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371475363"],"photo_id":"1371475363","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/6f7904467b2cc6b2b0d6edad2471f0ac.jpg","text":"TemporaryFile(/tmp/multipartBody7737361331461826756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752113585459,"filename":"image_10072025_04_11_01_3384.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371475363"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371475363"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.418214082717896 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:13:04.073140
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:14:03.678531
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:15:03.275775
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:16:03.678548
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/12/image_10072025_04_12_02_0144.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/12/image_10072025_04_12_02_0144.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/12/image_10072025_04_12_02_0144.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371475495"],"photo_id":"1371475495","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/0b6cf5ad9c3d1aea637bd4660161a950.jpg","text":"TemporaryFile(/tmp/multipartBody6830541871856689670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752113824674,"filename":"image_10072025_04_12_02_0144.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371475495"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371475495"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.797160387039185 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:17:03.753569
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:18:03.170387
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/16/image_10072025_04_16_01_4244.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/16/image_10072025_04_16_01_4244.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/16/image_10072025_04_16_01_4244.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371475549"],"photo_id":"1371475549","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/f1924648e4b87c222a9c169cc220c3fe.jpg","text":"TemporaryFile(/tmp/multipartBody1268429756840282350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752113944148,"filename":"image_10072025_04_16_01_4244.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371475549"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371475549"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.958489418029785 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:19:04.272471
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:20:03.679720
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:21:03.349204
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/18/image_10072025_04_18_01_9195.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/18/image_10072025_04_18_01_9195.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/18/image_10072025_04_18_01_9195.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371475653"],"photo_id":"1371475653","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/e951e525943bdfa9acdf468a670d1f4d.jpg","text":"TemporaryFile(/tmp/multipartBody1540502324305682103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752114124415,"filename":"image_10072025_04_18_01_9195.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371475653"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371475653"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.958329439163208 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:22:03.817005
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/21/image_10072025_04_21_02_2698.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/21/image_10072025_04_21_02_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/21/image_10072025_04_21_02_2698.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371475682"],"photo_id":"1371475682","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/9388ce06b00198f1ef78b4ee65a05f71.jpg","text":"TemporaryFile(/tmp/multipartBody3172684513677371543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752114184916,"filename":"image_10072025_04_21_02_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371475682"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371475682"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.273090362548828 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:23:03.576933
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/22/image_10072025_04_22_01_4144.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/22/image_10072025_04_22_01_4144.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/22/image_10072025_04_22_01_4144.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371475713"],"photo_id":"1371475713","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/aaf03030b3231db9d2827cd7e887fd1b.jpg","text":"TemporaryFile(/tmp/multipartBody3507373138357937419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752114244652,"filename":"image_10072025_04_22_01_4144.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371475713"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371475713"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.933312177658081 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:24:03.670376
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/23/image_10072025_04_23_01_8019.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/23/image_10072025_04_23_01_8019.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/23/image_10072025_04_23_01_8019.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371475748"],"photo_id":"1371475748","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/98d98d55e45d5881b1d25430ac02f3de.jpg","text":"TemporaryFile(/tmp/multipartBody398554882994293920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752114304826,"filename":"image_10072025_04_23_01_8019.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371475748"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371475748"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.76606011390686 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:25:06.684511
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/24/image_10072025_04_24_01_5138.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/24/image_10072025_04_24_01_5138.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/24/image_10072025_04_24_01_5138.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371475788"],"photo_id":"1371475788","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/614d6d87a0da0e9466c8d5f1e003503c.jpg","text":"TemporaryFile(/tmp/multipartBody3900375219467189567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752114370169,"filename":"image_10072025_04_24_01_5138.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371475788"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371475788"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.11872386932373 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:26:05.405988
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/25/image_10072025_04_25_01_6070.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/25/image_10072025_04_25_01_6070.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/25/image_10072025_04_25_01_6070.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371475819"],"photo_id":"1371475819","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/9a00689842261859122520a7d3592631.jpg","text":"TemporaryFile(/tmp/multipartBody741818635179989797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752114426669,"filename":"image_10072025_04_25_01_6070.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371475819"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371475819"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.678800344467163 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:27:04.107958
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/26/image_10072025_04_26_01_9919.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/26/image_10072025_04_26_01_9919.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/26/image_10072025_04_26_01_9919.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371475858"],"photo_id":"1371475858","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/6d1de643ccb982fcb6534d055489f7f1.jpg","text":"TemporaryFile(/tmp/multipartBody3743699264425829741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752114485376,"filename":"image_10072025_04_26_01_9919.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371475858"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371475858"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.978088855743408 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:28:03.620081
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:29:03.253808
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/27/image_10072025_04_27_01_7883.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/27/image_10072025_04_27_01_7883.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/27/image_10072025_04_27_01_7883.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371475919"],"photo_id":"1371475919","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/bed35e9bc561f8501a90a5c831f851e6.jpg","text":"TemporaryFile(/tmp/multipartBody578356486037934685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752114604419,"filename":"image_10072025_04_27_01_7883.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371475919"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371475919"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.603255033493042 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:30:04.443716
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/29/image_10072025_04_29_01_4464.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/29/image_10072025_04_29_01_4464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/29/image_10072025_04_29_01_4464.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371475989"],"photo_id":"1371475989","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/1c4db2cdba1b7ae30c06ad6811ec04fe.jpg","text":"TemporaryFile(/tmp/multipartBody7156950724408938674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752114665538,"filename":"image_10072025_04_29_01_4464.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371475989"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371475989"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.38387393951416 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:31:04.024406
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/30/image_10072025_04_30_01_4798.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/30/image_10072025_04_30_01_4798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/30/image_10072025_04_30_01_4798.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371476034"],"photo_id":"1371476034","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/a20a3f9570acb42efedcd5cfa488baa9.jpg","text":"TemporaryFile(/tmp/multipartBody4390536781623584365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752114725073,"filename":"image_10072025_04_30_01_4798.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371476034"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371476034"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.907581806182861 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:32:03.724339
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:33:03.469913
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:34:04.976127
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/31/image_10072025_04_31_01_8165.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/31/image_10072025_04_31_01_8165.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/31/image_10072025_04_31_01_8165.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371476143"],"photo_id":"1371476143","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/a0d5c08e769045ad4ebe480b62a7e63b.jpg","text":"TemporaryFile(/tmp/multipartBody3369118599843195581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752114906005,"filename":"image_10072025_04_31_01_8165.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371476143"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371476143"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.295578479766846 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:35:04.654383
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/34/image_10072025_04_34_01_4940.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/34/image_10072025_04_34_01_4940.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/34/image_10072025_04_34_01_4940.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371476178"],"photo_id":"1371476178","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/5d835d5e53f9b93af51672a55977d582.jpg","text":"TemporaryFile(/tmp/multipartBody6333042989293049283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752114965803,"filename":"image_10072025_04_34_01_4940.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371476178"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371476178"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.696982860565186 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:36:04.078704
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:37:04.475960
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:38:03.501452
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/35/image_10072025_04_35_01_7262.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/35/image_10072025_04_35_01_7262.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/35/image_10072025_04_35_01_7262.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371476286"],"photo_id":"1371476286","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/38fb36249177a74fe84951d1108ccd04.jpg","text":"TemporaryFile(/tmp/multipartBody6751877174291095804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752115144597,"filename":"image_10072025_04_35_01_7262.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371476286"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371476286"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.00829315185547 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:39:04.251140
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:40:02.934892
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/38/image_10072025_04_38_01_5852.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/38/image_10072025_04_38_01_5852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/38/image_10072025_04_38_01_5852.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.9479765892028809 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 -f /home/pi/Desktop/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 04:41:03.712365
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/40/image_10072025_04_40_01_5797.jpg', 2), ('/home/pi/Desktop/images/10072025/04/38/image_10072025_04_38_01_5852.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/40/image_10072025_04_40_01_5797.jpg', '/home/pi/Desktop/images/10072025/04/38/image_10072025_04_38_01_5852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/40/image_10072025_04_40_01_5797.jpg
/home/pi/Desktop/images/10072025/04/38/image_10072025_04_38_01_5852.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371476373","1371476375"],"photo_ids_order":["1371476373","1371476375"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/6deeac689df5af3ec76fd449910f1d57.jpg","text":"TemporaryFile(/tmp/multipartBody8958226334663930879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752115325151,"filename":"image_10072025_04_40_01_5797.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/0fe669a19c394d96b2f6b75eac6713f6.jpg","text":"TemporaryFile(/tmp/multipartBody6364712053326085876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752115325151,"filename":"image_10072025_04_38_01_5852.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371476375","file0":"1371476373"},"map_files_photo_id_array":[{"photo_id":"1371476375","filename":"file1"},{"photo_id":"1371476373","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371476373":["hashtag1","hashtag2"]},{"1371476375":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371476373, 1371476375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.78475570678711 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:42:03.875803
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/41/image_10072025_04_41_01_4166.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/41/image_10072025_04_41_01_4166.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/41/image_10072025_04_41_01_4166.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.0394525527954102 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 -f /home/pi/Desktop/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 04:43:04.064397
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/41/image_10072025_04_41_01_4166.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/41/image_10072025_04_41_01_4166.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/41/image_10072025_04_41_01_4166.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371476443"],"photo_id":"1371476443","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/3ae0132b1aa1b74f410b6d91d7613b56.jpg","text":"TemporaryFile(/tmp/multipartBody1063341073464585677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752115445182,"filename":"image_10072025_04_41_01_4166.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371476443"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371476443"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.919639587402344 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:44:03.961074
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:45:04.528205
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/42/image_10072025_04_42_01_8545.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/42/image_10072025_04_42_01_8545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/42/image_10072025_04_42_01_8545.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371476527"],"photo_id":"1371476527","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/b093ed1c04d609567b5edf588a57b3bd.jpg","text":"TemporaryFile(/tmp/multipartBody3306623681021812721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752115565740,"filename":"image_10072025_04_42_01_8545.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371476527"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371476527"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.94980764389038 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:46:05.091118
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/45/image_10072025_04_45_01_9410.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/45/image_10072025_04_45_01_9410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/45/image_10072025_04_45_01_9410.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371476570"],"photo_id":"1371476570","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/2d42d6da5de594714ae25ea0ec906959.jpg","text":"TemporaryFile(/tmp/multipartBody4247843992628336780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752115626382,"filename":"image_10072025_04_45_01_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371476570"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371476570"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.260582447052002 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:47:04.570071
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/46/image_10072025_04_46_02_1297.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/46/image_10072025_04_46_02_1297.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/46/image_10072025_04_46_02_1297.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371476608"],"photo_id":"1371476608","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/70f417a6b9db7feb5d1cb31943a0e46a.jpg","text":"TemporaryFile(/tmp/multipartBody3003976447224741732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752115685918,"filename":"image_10072025_04_46_02_1297.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371476608"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371476608"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.23508334159851 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:48:05.022867
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/47/image_10072025_04_47_01_7212.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/47/image_10072025_04_47_01_7212.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/47/image_10072025_04_47_01_7212.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371476635"],"photo_id":"1371476635","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/16be9080c44536cbdc284723def44d11.jpg","text":"TemporaryFile(/tmp/multipartBody7985446631446066177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752115746102,"filename":"image_10072025_04_47_01_7212.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371476635"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371476635"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.04437518119812 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:49:04.601749
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:50:03.628525
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/48/image_10072025_04_48_01_6954.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/48/image_10072025_04_48_01_6954.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/48/image_10072025_04_48_01_6954.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.904033899307251 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 -f /home/pi/Desktop/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 04:51:04.083858
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/48/image_10072025_04_48_01_6954.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/48/image_10072025_04_48_01_6954.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/48/image_10072025_04_48_01_6954.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.0254452228546143 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 -f /home/pi/Desktop/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 04:52:04.319726
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/50/image_10072025_04_50_01_6384.jpg', 2), ('/home/pi/Desktop/images/10072025/04/48/image_10072025_04_48_01_6954.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/50/image_10072025_04_50_01_6384.jpg', '/home/pi/Desktop/images/10072025/04/48/image_10072025_04_48_01_6954.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/50/image_10072025_04_50_01_6384.jpg
/home/pi/Desktop/images/10072025/04/48/image_10072025_04_48_01_6954.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371476778","1371476775"],"photo_ids_order":["1371476775","1371476778"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/d765ad5a14c2b020230dfa1dd5c3a0fa.jpg","text":"TemporaryFile(/tmp/multipartBody8301345628883119603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752115985701,"filename":"image_10072025_04_48_01_6954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/f0369ade73c3d34fc950000b37565f8b.jpg","text":"TemporaryFile(/tmp/multipartBody4405703883040982347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752115985701,"filename":"image_10072025_04_50_01_6384.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371476778","file0":"1371476775"},"map_files_photo_id_array":[{"photo_id":"1371476778","filename":"file1"},{"photo_id":"1371476775","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371476778":["hashtag1","hashtag2"]},{"1371476775":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371476778, 1371476775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.815754175186157 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:53:03.790571
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/52/image_10072025_04_52_02_3095.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/52/image_10072025_04_52_02_3095.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/52/image_10072025_04_52_02_3095.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371476812"],"photo_id":"1371476812","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/5c0d2d31a452758680723cf9362da21d.jpg","text":"TemporaryFile(/tmp/multipartBody829173641911212844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752116044912,"filename":"image_10072025_04_52_02_3095.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371476812"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371476812"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.121208667755127 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:54:04.156329
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:55:03.356797
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:56:03.659118
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/53/image_10072025_04_53_01_8107.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/53/image_10072025_04_53_01_8107.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/53/image_10072025_04_53_01_8107.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371476911"],"photo_id":"1371476911","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/9af3e18adf0321d121d3adf0231588da.jpg","text":"TemporaryFile(/tmp/multipartBody5925204296148026721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752116224648,"filename":"image_10072025_04_53_01_8107.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371476911"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371476911"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.631809711456299 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:57:04.024771
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/56/image_10072025_04_56_01_4055.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/56/image_10072025_04_56_01_4055.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/56/image_10072025_04_56_01_4055.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371476942"],"photo_id":"1371476942","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/2645069a6ce0accbd0d9ebc4c45879fb.jpg","text":"TemporaryFile(/tmp/multipartBody1903498086128903561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752116285081,"filename":"image_10072025_04_56_01_4055.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371476942"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371476942"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.446996212005615 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 04:59:04.650471
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 3 files
1 photos no longer on disk
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/05/00/image_10072025_05_00_01_8874.jpg', 2), ('/home/pi/Desktop/images/10072025/04/58/image_10072025_04_58_02_0847.jpg', 2), ('/home/pi/Desktop/images/10072025/04/57/image_10072025_04_57_02_1361.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/58/image_10072025_04_58_02_0847.jpg', '/home/pi/Desktop/images/10072025/04/57/image_10072025_04_57_02_1361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/58/image_10072025_04_58_02_0847.jpg
/home/pi/Desktop/images/10072025/04/57/image_10072025_04_57_02_1361.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371476988","1371476997"],"photo_ids_order":["1371476988","1371476997"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/f4c09bf2107c8e291e4c608e7b2430da.jpg","text":"TemporaryFile(/tmp/multipartBody3334570254638676523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752116407011,"filename":"image_10072025_04_58_02_0847.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/dc2190e51db10f4ec885c5fbc22119dc.jpg","text":"TemporaryFile(/tmp/multipartBody353879115249125195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752116407011,"filename":"image_10072025_04_57_02_1361.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371476997","file0":"1371476988"},"map_files_photo_id_array":[{"photo_id":"1371476997","filename":"file1"},{"photo_id":"1371476988","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371476988":["hashtag1","hashtag2"]},{"1371476997":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371476988, 1371476997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 30.199519395828247 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/10072025/05/00/image_10072025_05_00_01_8874.jpg'],)
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:00:03.145710
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:01:03.515326
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/04/59/image_10072025_04_59_01_5746.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/04/59/image_10072025_04_59_01_5746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/04/59/image_10072025_04_59_01_5746.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371477077"],"photo_id":"1371477077","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/99f7216cc55975938b709caea44910bd.jpg","text":"TemporaryFile(/tmp/multipartBody2947537715192006400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752116524591,"filename":"image_10072025_04_59_01_5746.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371477077"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371477077"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.516993284225464 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:02:03.983040
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/01/image_10072025_05_01_01_6400.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/01/image_10072025_05_01_01_6400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/01/image_10072025_05_01_01_6400.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371477112"],"photo_id":"1371477112","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/bed5c024261d9059bc5a6ac83ee7b305.jpg","text":"TemporaryFile(/tmp/multipartBody2424726190226875341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752116585035,"filename":"image_10072025_05_01_01_6400.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371477112"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371477112"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.12038516998291 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:03:04.687116
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:04:04.211434
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/02/image_10072025_05_02_01_4635.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/02/image_10072025_05_02_01_4635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/02/image_10072025_05_02_01_4635.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371477160"],"photo_id":"1371477160","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/b79a96668f0bcfc414a83a794bd215d9.jpg","text":"TemporaryFile(/tmp/multipartBody3435852354743652233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752116705300,"filename":"image_10072025_05_02_01_4635.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371477160"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371477160"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.310974597930908 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:05:04.390021
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/04/image_10072025_05_04_01_8491.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/04/image_10072025_05_04_01_8491.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/04/image_10072025_05_04_01_8491.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371477190"],"photo_id":"1371477190","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/028e036677fcddeab6888bf5e7a705f8.jpg","text":"TemporaryFile(/tmp/multipartBody7319848241529208681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752116765462,"filename":"image_10072025_05_04_01_8491.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371477190"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371477190"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.64592432975769 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:06:03.674932
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/05/image_10072025_05_05_02_0839.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/05/image_10072025_05_05_02_0839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/05/image_10072025_05_05_02_0839.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371477234"],"photo_id":"1371477234","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/610daebd15a41578ab26aa73f516580b.jpg","text":"TemporaryFile(/tmp/multipartBody5113993512214925426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752116824715,"filename":"image_10072025_05_05_02_0839.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371477234"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371477234"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.151767015457153 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:07:03.835154
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/06/image_10072025_05_06_01_7538.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/06/image_10072025_05_06_01_7538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/06/image_10072025_05_06_01_7538.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371477276"],"photo_id":"1371477276","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/b205556152cc41e78e90d2057a68eff4.jpg","text":"TemporaryFile(/tmp/multipartBody6424600654043405906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752116884898,"filename":"image_10072025_05_06_01_7538.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371477276"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371477276"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.740529537200928 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:08:04.778766
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/07/image_10072025_05_07_01_4498.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/07/image_10072025_05_07_01_4498.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/07/image_10072025_05_07_01_4498.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371477336"],"photo_id":"1371477336","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/ad9dd5f5bd7d73a0d1a90447227a9836.jpg","text":"TemporaryFile(/tmp/multipartBody159379915823816336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752116946023,"filename":"image_10072025_05_07_01_4498.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371477336"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371477336"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.12638545036316 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:09:03.896922
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/08/image_10072025_05_08_01_6635.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/08/image_10072025_05_08_01_6635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/08/image_10072025_05_08_01_6635.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371477367"],"photo_id":"1371477367","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/228634d7ff87142e5b638f37c0aa9c11.jpg","text":"TemporaryFile(/tmp/multipartBody2183784930534611692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752117004927,"filename":"image_10072025_05_08_01_6635.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371477367"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371477367"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.895082712173462 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:10:03.900809
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/09/image_10072025_05_09_01_9110.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/09/image_10072025_05_09_01_9110.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/09/image_10072025_05_09_01_9110.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371477421"],"photo_id":"1371477421","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/b56df71b123868e11c5b548911556413.jpg","text":"TemporaryFile(/tmp/multipartBody9115317523384554222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752117065096,"filename":"image_10072025_05_09_01_9110.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371477421"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371477421"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.415797233581543 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:11:03.389656
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/10/image_10072025_05_10_01_4598.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/10/image_10072025_05_10_01_4598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/10/image_10072025_05_10_01_4598.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371477446"],"photo_id":"1371477446","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/e6b0cb970c721b6340637db44b9c1051.jpg","text":"TemporaryFile(/tmp/multipartBody6117223956456538930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752117124365,"filename":"image_10072025_05_10_01_4598.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371477446"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371477446"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.684400081634521 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:12:04.125868
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/11/image_10072025_05_11_01_8222.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/11/image_10072025_05_11_01_8222.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/11/image_10072025_05_11_01_8222.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.9737687110900879 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 -f /home/pi/Desktop/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 05:13:03.774477
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/12/image_10072025_05_12_01_4443.jpg', 2), ('/home/pi/Desktop/images/10072025/05/11/image_10072025_05_11_01_8222.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/12/image_10072025_05_12_01_4443.jpg', '/home/pi/Desktop/images/10072025/05/11/image_10072025_05_11_01_8222.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/12/image_10072025_05_12_01_4443.jpg
/home/pi/Desktop/images/10072025/05/11/image_10072025_05_11_01_8222.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371477525","1371477528"],"photo_ids_order":["1371477525","1371477528"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/d0da7ff336be693ef71f2ed32a9ba3c1.jpg","text":"TemporaryFile(/tmp/multipartBody1668951298795850788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752117245431,"filename":"image_10072025_05_12_01_4443.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/e3b9d53c33fd18e66ab774677ea3f1a8.jpg","text":"TemporaryFile(/tmp/multipartBody4281569648606334636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752117245431,"filename":"image_10072025_05_11_01_8222.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371477528","file0":"1371477525"},"map_files_photo_id_array":[{"photo_id":"1371477528","filename":"file1"},{"photo_id":"1371477525","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371477525":["hashtag1","hashtag2"]},{"1371477528":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371477525, 1371477528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.963027000427246 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:14:04.435079
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/13/image_10072025_05_13_01_5431.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/13/image_10072025_05_13_01_5431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/13/image_10072025_05_13_01_5431.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371477565"],"photo_id":"1371477565","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/6527412bb092473ee87efc2073f874a1.jpg","text":"TemporaryFile(/tmp/multipartBody8204124320238416467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752117305503,"filename":"image_10072025_05_13_01_5431.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371477565"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371477565"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.896960973739624 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:15:03.813453
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/14/image_10072025_05_14_01_8418.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/14/image_10072025_05_14_01_8418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/14/image_10072025_05_14_01_8418.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371477589"],"photo_id":"1371477589","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/bbd222163e248260f538b9c99de2971a.jpg","text":"TemporaryFile(/tmp/multipartBody7941649264851025565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752117364880,"filename":"image_10072025_05_14_01_8418.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371477589"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371477589"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.43910551071167 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:16:04.363716
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/15/image_10072025_05_15_02_0127.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/15/image_10072025_05_15_02_0127.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/15/image_10072025_05_15_02_0127.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371477640"],"photo_id":"1371477640","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/6e25c5adf3950b5e1e79099082fb152e.jpg","text":"TemporaryFile(/tmp/multipartBody5026394178116599379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752117425648,"filename":"image_10072025_05_15_02_0127.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371477640"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371477640"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.930723905563354 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:17:03.499937
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/16/image_10072025_05_16_01_7107.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/16/image_10072025_05_16_01_7107.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/16/image_10072025_05_16_01_7107.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371477673"],"photo_id":"1371477673","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/b5e413648524a1f329cdf999475d3142.jpg","text":"TemporaryFile(/tmp/multipartBody6403906786877168321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752117484590,"filename":"image_10072025_05_16_01_7107.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371477673"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371477673"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.976633310317993 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:18:02.989080
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/17/image_10072025_05_17_01_6352.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/17/image_10072025_05_17_01_6352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/17/image_10072025_05_17_01_6352.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371477703"],"photo_id":"1371477703","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/55817db19e4ba0a4703597b898e5a7d2.jpg","text":"TemporaryFile(/tmp/multipartBody1538915278315357505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752117544016,"filename":"image_10072025_05_17_01_6352.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371477703"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371477703"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.408876657485962 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:19:04.263311
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/18/image_10072025_05_18_01_4466.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/18/image_10072025_05_18_01_4466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/18/image_10072025_05_18_01_4466.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371477741"],"photo_id":"1371477741","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/a168b88634cf0f5531bc2ec4677d885f.jpg","text":"TemporaryFile(/tmp/multipartBody2055298873736570914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752117605672,"filename":"image_10072025_05_18_01_4466.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371477741"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371477741"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.807079553604126 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:20:04.127497
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/19/image_10072025_05_19_01_4119.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/19/image_10072025_05_19_01_4119.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/19/image_10072025_05_19_01_4119.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.2083163261413574 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 -f /home/pi/Desktop/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 05:21:04.101420
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/20/image_10072025_05_20_01_9350.jpg', 2), ('/home/pi/Desktop/images/10072025/05/19/image_10072025_05_19_01_4119.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/20/image_10072025_05_20_01_9350.jpg', '/home/pi/Desktop/images/10072025/05/19/image_10072025_05_19_01_4119.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/20/image_10072025_05_20_01_9350.jpg
/home/pi/Desktop/images/10072025/05/19/image_10072025_05_19_01_4119.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371477808","1371477816"],"photo_ids_order":["1371477808","1371477816"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/b20c7efa9dd9acda8777e11e1be5a47c.jpg","text":"TemporaryFile(/tmp/multipartBody859905230111193349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752117725689,"filename":"image_10072025_05_20_01_9350.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/b0952ecb7a848ce83973567adb9381c4.jpg","text":"TemporaryFile(/tmp/multipartBody372304143717584059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752117725689,"filename":"image_10072025_05_19_01_4119.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371477816","file0":"1371477808"},"map_files_photo_id_array":[{"photo_id":"1371477816","filename":"file1"},{"photo_id":"1371477808","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371477808":["hashtag1","hashtag2"]},{"1371477816":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371477808, 1371477816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.660329580307007 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:22:04.513629
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/21/image_10072025_05_21_02_1188.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/21/image_10072025_05_21_02_1188.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/21/image_10072025_05_21_02_1188.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371477849"],"photo_id":"1371477849","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/a6d4a5d31c8a5bff9fea122ba2b730f1.jpg","text":"TemporaryFile(/tmp/multipartBody719155937183000491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752117785861,"filename":"image_10072025_05_21_02_1188.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371477849"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371477849"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.084567546844482 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:23:03.782479
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/22/image_10072025_05_22_02_0994.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/22/image_10072025_05_22_02_0994.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/22/image_10072025_05_22_02_0994.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371477874"],"photo_id":"1371477874","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/0573bd12bb295752c3e31469ac63a9bb.jpg","text":"TemporaryFile(/tmp/multipartBody1107345341238285360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752117844883,"filename":"image_10072025_05_22_02_0994.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371477874"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371477874"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.717886447906494 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:24:04.256715
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/23/image_10072025_05_23_01_2739.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/23/image_10072025_05_23_01_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/23/image_10072025_05_23_01_2739.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371477900"],"photo_id":"1371477900","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/a3cd14c39e792d021611e007699ae056.jpg","text":"TemporaryFile(/tmp/multipartBody9172682678442227117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752117905408,"filename":"image_10072025_05_23_01_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371477900"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371477900"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.684962511062622 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:25:06.188107
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/24/image_10072025_05_24_01_3216.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/24/image_10072025_05_24_01_3216.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/24/image_10072025_05_24_01_3216.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371477934"],"photo_id":"1371477934","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/1cef3ff711e2a092cd67e314999d9fb3.jpg","text":"TemporaryFile(/tmp/multipartBody2043907278287754445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752117967973,"filename":"image_10072025_05_24_01_3216.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371477934"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371477934"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.043466329574585 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:26:05.823473
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/25/image_10072025_05_25_01_9700.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/25/image_10072025_05_25_01_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/25/image_10072025_05_25_01_9700.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371477962"],"photo_id":"1371477962","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/f099212951756b1357481b43988850cb.jpg","text":"TemporaryFile(/tmp/multipartBody6708223362380459030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752118027070,"filename":"image_10072025_05_25_01_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371477962"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371477962"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.83441424369812 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:27:03.858202
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/26/image_10072025_05_26_01_4103.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/26/image_10072025_05_26_01_4103.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/26/image_10072025_05_26_01_4103.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478000"],"photo_id":"1371478000","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/9fecab447c6a1b3f63ca95ce91b05c78.jpg","text":"TemporaryFile(/tmp/multipartBody7530323350575954885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752118085173,"filename":"image_10072025_05_26_01_4103.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478000"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478000"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.408351182937622 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:28:03.876262
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/27/image_10072025_05_27_02_3026.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/27/image_10072025_05_27_02_3026.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/27/image_10072025_05_27_02_3026.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478030"],"photo_id":"1371478030","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/2fae97e839e75bf1f73b049db5b4c0bb.jpg","text":"TemporaryFile(/tmp/multipartBody1318059882743473549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752118144932,"filename":"image_10072025_05_27_02_3026.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478030"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478030"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.846429824829102 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:29:04.729060
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/28/image_10072025_05_28_01_4914.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/28/image_10072025_05_28_01_4914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/28/image_10072025_05_28_01_4914.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478067"],"photo_id":"1371478067","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/dcf356d065ca92f087c9dae07e44646b.jpg","text":"TemporaryFile(/tmp/multipartBody582078454735671363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752118206304,"filename":"image_10072025_05_28_01_4914.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478067"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478067"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.859455585479736 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:30:03.596526
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/29/image_10072025_05_29_01_7856.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/29/image_10072025_05_29_01_7856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/29/image_10072025_05_29_01_7856.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478093"],"photo_id":"1371478093","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/281820a211053372786ec4a676b3043d.jpg","text":"TemporaryFile(/tmp/multipartBody5051978842416507501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752118264638,"filename":"image_10072025_05_29_01_7856.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478093"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478093"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.15981149673462 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:31:04.826539
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:32:03.734941
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/30/image_10072025_05_30_01_8595.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/30/image_10072025_05_30_01_8595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/30/image_10072025_05_30_01_8595.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478141"],"photo_id":"1371478141","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/f29852b106a38c77418948ca582df178.jpg","text":"TemporaryFile(/tmp/multipartBody9168235166457228507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752118384749,"filename":"image_10072025_05_30_01_8595.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478141"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478141"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.235699892044067 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:33:04.525953
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/32/image_10072025_05_32_02_1997.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/32/image_10072025_05_32_02_1997.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/32/image_10072025_05_32_02_1997.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478176"],"photo_id":"1371478176","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/4f72d1718f69d210187e29a5df8416cc.jpg","text":"TemporaryFile(/tmp/multipartBody6118334532946915078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752118446081,"filename":"image_10072025_05_32_02_1997.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478176"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478176"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.536436796188354 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:34:04.268679
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/33/image_10072025_05_33_02_1487.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/33/image_10072025_05_33_02_1487.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/33/image_10072025_05_33_02_1487.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478198"],"photo_id":"1371478198","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/4f112d08fbaf206d3d8cb7b4a639155e.jpg","text":"TemporaryFile(/tmp/multipartBody7426112981901621024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752118505617,"filename":"image_10072025_05_33_02_1487.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478198"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478198"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.168405294418335 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:35:04.761089
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/34/image_10072025_05_34_01_2837.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/34/image_10072025_05_34_01_2837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/34/image_10072025_05_34_01_2837.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478220"],"photo_id":"1371478220","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/a02f7aaa9a818dd63acfddafe1ad4b6c.jpg","text":"TemporaryFile(/tmp/multipartBody7784881965071570835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752118565796,"filename":"image_10072025_05_34_01_2837.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478220"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478220"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.009085655212402 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:36:03.734042
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/35/image_10072025_05_35_01_5665.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/35/image_10072025_05_35_01_5665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/35/image_10072025_05_35_01_5665.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478252"],"photo_id":"1371478252","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/cf7d0d33948d9f57d5e21b8d45ad5105.jpg","text":"TemporaryFile(/tmp/multipartBody7965051241347020730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752118624827,"filename":"image_10072025_05_35_01_5665.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478252"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478252"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.34625768661499 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:37:03.993537
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/36/image_10072025_05_36_02_0010.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/36/image_10072025_05_36_02_0010.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/36/image_10072025_05_36_02_0010.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478274"],"photo_id":"1371478274","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/85f6a9c3cf106c0b0ed9d74730e2b01c.jpg","text":"TemporaryFile(/tmp/multipartBody6925904257466449386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752118685058,"filename":"image_10072025_05_36_02_0010.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478274"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478274"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.838515520095825 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:38:03.940107
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/37/image_10072025_05_37_01_8505.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/37/image_10072025_05_37_01_8505.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/37/image_10072025_05_37_01_8505.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478294"],"photo_id":"1371478294","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/bab94fd493278ab2c79ca53006626b62.jpg","text":"TemporaryFile(/tmp/multipartBody8942949044110002513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752118744988,"filename":"image_10072025_05_37_01_8505.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478294"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478294"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.814534902572632 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:39:03.382484
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/38/image_10072025_05_38_01_6927.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/38/image_10072025_05_38_01_6927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/38/image_10072025_05_38_01_6927.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478311"],"photo_id":"1371478311","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/4a4debd145472f3bfecce0f920d8d082.jpg","text":"TemporaryFile(/tmp/multipartBody8535027012011363149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752118804425,"filename":"image_10072025_05_38_01_6927.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478311"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478311"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.866111755371094 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:40:03.476751
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/39/image_10072025_05_39_02_0667.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/39/image_10072025_05_39_02_0667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/39/image_10072025_05_39_02_0667.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478348"],"photo_id":"1371478348","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/f147417c7a33cb80a3baf734af86e35c.jpg","text":"TemporaryFile(/tmp/multipartBody6875294631588367859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752118864518,"filename":"image_10072025_05_39_02_0667.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478348"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478348"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.785192728042603 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:41:04.075213
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/40/image_10072025_05_40_01_3531.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/40/image_10072025_05_40_01_3531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/40/image_10072025_05_40_01_3531.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478373"],"photo_id":"1371478373","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/29767a8e71e73aa874c33c18c4afe3c0.jpg","text":"TemporaryFile(/tmp/multipartBody6312416677055021904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752118925113,"filename":"image_10072025_05_40_01_3531.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478373"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478373"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.078670501708984 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:42:04.697798
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/41/image_10072025_05_41_01_7368.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/41/image_10072025_05_41_01_7368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/41/image_10072025_05_41_01_7368.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478390"],"photo_id":"1371478390","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/c649f42e2668db8ae2efd463d9213fde.jpg","text":"TemporaryFile(/tmp/multipartBody5489256878762194636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752118985806,"filename":"image_10072025_05_41_01_7368.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478390"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478390"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.734607696533203 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:43:04.658238
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/42/image_10072025_05_42_01_4906.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/42/image_10072025_05_42_01_4906.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/42/image_10072025_05_42_01_4906.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478413"],"photo_id":"1371478413","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/7f61c20b5b0d81baf17f8f16f76e0377.jpg","text":"TemporaryFile(/tmp/multipartBody1702350805115568736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752119045923,"filename":"image_10072025_05_42_01_4906.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478413"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478413"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.427560567855835 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:44:04.259866
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/43/image_10072025_05_43_02_2902.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/43/image_10072025_05_43_02_2902.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/43/image_10072025_05_43_02_2902.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478434"],"photo_id":"1371478434","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/5156133bcce744f6fce2423152017fa8.jpg","text":"TemporaryFile(/tmp/multipartBody814149219013635576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752119105451,"filename":"image_10072025_05_43_02_2902.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478434"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478434"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.08505368232727 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:45:04.196021
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/44/image_10072025_05_44_01_7226.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/44/image_10072025_05_44_01_7226.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/44/image_10072025_05_44_01_7226.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478459"],"photo_id":"1371478459","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/e662bf9e472c7745804d9919720991ea.jpg","text":"TemporaryFile(/tmp/multipartBody193871440843115926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752119165349,"filename":"image_10072025_05_44_01_7226.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478459"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478459"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.059064626693726 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:46:03.413863
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/45/image_10072025_05_45_02_1918.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/45/image_10072025_05_45_02_1918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/45/image_10072025_05_45_02_1918.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478480"],"photo_id":"1371478480","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/d2d9f4025ff12364dec11f8775997f72.jpg","text":"TemporaryFile(/tmp/multipartBody2729033657439200612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752119224429,"filename":"image_10072025_05_45_02_1918.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478480"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478480"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.598977327346802 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:47:03.753269
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/46/image_10072025_05_46_01_5377.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/46/image_10072025_05_46_01_5377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/46/image_10072025_05_46_01_5377.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478499"],"photo_id":"1371478499","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/39bf2859fd6aff777274d06a55069fd2.jpg","text":"TemporaryFile(/tmp/multipartBody4123049990768085853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752119284801,"filename":"image_10072025_05_46_01_5377.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478499"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478499"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.854085445404053 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:48:03.341544
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/47/image_10072025_05_47_01_3779.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/47/image_10072025_05_47_01_3779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/47/image_10072025_05_47_01_3779.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478517"],"photo_id":"1371478517","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/9e1fd870136ce9ab36dc9307c3ed0e02.jpg","text":"TemporaryFile(/tmp/multipartBody860721328378403599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752119344369,"filename":"image_10072025_05_47_01_3779.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478517"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478517"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.893902063369751 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:49:04.050736
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/48/image_10072025_05_48_01_6416.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/48/image_10072025_05_48_01_6416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/48/image_10072025_05_48_01_6416.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478535"],"photo_id":"1371478535","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/952ece6e9ede8dc0138cab0ac5f577ae.jpg","text":"TemporaryFile(/tmp/multipartBody9008047361935336981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752119405141,"filename":"image_10072025_05_48_01_6416.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478535"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478535"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.907333135604858 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:50:03.551598
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/50/image_10072025_05_50_01_7704.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/50/image_10072025_05_50_01_7704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/50/image_10072025_05_50_01_7704.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478576"],"photo_id":"1371478576","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/d342ce96ace9ed444411731980775c0f.jpg","text":"TemporaryFile(/tmp/multipartBody6570128188182914401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752119464529,"filename":"image_10072025_05_50_01_7704.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478576"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478576"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.75016736984253 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:51:05.546269
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/49/image_10072025_05_49_01_2511.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/49/image_10072025_05_49_01_2511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/49/image_10072025_05_49_01_2511.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478600"],"photo_id":"1371478600","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/80cbc58a5bc2b12baad27b22b5b2dc75.jpg","text":"TemporaryFile(/tmp/multipartBody6178385911543254896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752119527018,"filename":"image_10072025_05_49_01_2511.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478600"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478600"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.59776759147644 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:52:04.084907
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/51/image_10072025_05_51_02_0595.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/51/image_10072025_05_51_02_0595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/51/image_10072025_05_51_02_0595.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478612"],"photo_id":"1371478612","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/345b9eaa2cf257250531dd586cb75fc9.jpg","text":"TemporaryFile(/tmp/multipartBody8688876740977104752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752119585415,"filename":"image_10072025_05_51_02_0595.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478612"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478612"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.30967402458191 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:53:04.063525
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/52/image_10072025_05_52_01_6305.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/52/image_10072025_05_52_01_6305.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/52/image_10072025_05_52_01_6305.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478628"],"photo_id":"1371478628","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/21f656e9cd5a30dc4c0f01428a9255e7.jpg","text":"TemporaryFile(/tmp/multipartBody3973819806123938912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752119645066,"filename":"image_10072025_05_52_01_6305.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478628"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478628"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.05721640586853 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:54:03.673810
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/53/image_10072025_05_53_01_4169.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/53/image_10072025_05_53_01_4169.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/53/image_10072025_05_53_01_4169.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478641"],"photo_id":"1371478641","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/d823388a1179807d15fa4089af7ec93b.jpg","text":"TemporaryFile(/tmp/multipartBody5088873851692917670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752119704791,"filename":"image_10072025_05_53_01_4169.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478641"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478641"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.072678804397583 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:55:04.074907
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/54/image_10072025_05_54_01_7537.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/54/image_10072025_05_54_01_7537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/54/image_10072025_05_54_01_7537.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478653"],"photo_id":"1371478653","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/905aad32082d15c04fdcfbcc00786591.jpg","text":"TemporaryFile(/tmp/multipartBody7174825769604676814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752119765193,"filename":"image_10072025_05_54_01_7537.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478653"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478653"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.929599523544312 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:56:04.115616
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/55/image_10072025_05_55_01_3961.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/55/image_10072025_05_55_01_3961.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/55/image_10072025_05_55_01_3961.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478668"],"photo_id":"1371478668","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/a14bf163f5a80e50fcd4a9a088f4ad94.jpg","text":"TemporaryFile(/tmp/multipartBody8470508753907087034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752119825188,"filename":"image_10072025_05_55_01_3961.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478668"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478668"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.28540825843811 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:57:03.975515
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/56/image_10072025_05_56_02_0950.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/56/image_10072025_05_56_02_0950.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/56/image_10072025_05_56_02_0950.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478682"],"photo_id":"1371478682","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/7b3b67dc80d0ccc33f0fe648e315f8cf.jpg","text":"TemporaryFile(/tmp/multipartBody6847624293309609879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752119885025,"filename":"image_10072025_05_56_02_0950.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478682"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478682"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.98217487335205 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 05:59:04.023579
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/58/image_10072025_05_58_01_8943.jpg', 2), ('/home/pi/Desktop/images/10072025/05/57/image_10072025_05_57_01_3440.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/58/image_10072025_05_58_01_8943.jpg', '/home/pi/Desktop/images/10072025/05/57/image_10072025_05_57_01_3440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/58/image_10072025_05_58_01_8943.jpg
/home/pi/Desktop/images/10072025/05/57/image_10072025_05_57_01_3440.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478725","1371478719"],"photo_ids_order":["1371478719","1371478725"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/52b423a29fddf85be5a1fb8278545c7b.jpg","text":"TemporaryFile(/tmp/multipartBody8871825608836117371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752120005879,"filename":"image_10072025_05_57_01_3440.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/997d493b7c8402d7fa4024ce5d989323.jpg","text":"TemporaryFile(/tmp/multipartBody4817520146147105106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752120005879,"filename":"image_10072025_05_58_01_8943.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371478725","file0":"1371478719"},"map_files_photo_id_array":[{"photo_id":"1371478725","filename":"file1"},{"photo_id":"1371478719","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371478725":["hashtag1","hashtag2"]},{"1371478719":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371478725, 1371478719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.73499083518982 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:00:04.026974
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/05/59/image_10072025_05_59_01_8998.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/05/59/image_10072025_05_59_01_8998.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/05/59/image_10072025_05_59_01_8998.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478764"],"photo_id":"1371478764","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/9b1b60abc71c86a69506b2276dc481ee.jpg","text":"TemporaryFile(/tmp/multipartBody1255484847440268265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752120065036,"filename":"image_10072025_05_59_01_8998.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478764"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478764"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.462371826171875 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:01:03.332344
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/00/image_10072025_06_00_01_4231.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/00/image_10072025_06_00_01_4231.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/00/image_10072025_06_00_01_4231.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478788"],"photo_id":"1371478788","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/2b66f79cf03785d3ee4314ef714708c1.jpg","text":"TemporaryFile(/tmp/multipartBody4754846606782551394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752120124309,"filename":"image_10072025_06_00_01_4231.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478788"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478788"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.911267518997192 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:02:04.080772
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/01/image_10072025_06_01_01_5466.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/01/image_10072025_06_01_01_5466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/01/image_10072025_06_01_01_5466.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478822"],"photo_id":"1371478822","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/3979def5db94e88f36c09a3278bf1091.jpg","text":"TemporaryFile(/tmp/multipartBody9132016436303915652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752120185156,"filename":"image_10072025_06_01_01_5466.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478822"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478822"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.868449449539185 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:03:03.801368
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/02/image_10072025_06_02_01_4517.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/02/image_10072025_06_02_01_4517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/02/image_10072025_06_02_01_4517.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478843"],"photo_id":"1371478843","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/c4b00a95e4e62a44e3f876ee9e1790b0.jpg","text":"TemporaryFile(/tmp/multipartBody2191428697203350843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752120244849,"filename":"image_10072025_06_02_01_4517.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478843"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478843"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.063204050064087 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:04:04.550250
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/03/image_10072025_06_03_01_7299.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/03/image_10072025_06_03_01_7299.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/03/image_10072025_06_03_01_7299.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478863"],"photo_id":"1371478863","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/6da75561dfa0f2ffc11ed6fab9c20f7c.jpg","text":"TemporaryFile(/tmp/multipartBody7121108026262244291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752120305826,"filename":"image_10072025_06_03_01_7299.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478863"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478863"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.639085054397583 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:05:04.510563
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/04/image_10072025_06_04_01_9569.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/04/image_10072025_06_04_01_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/04/image_10072025_06_04_01_9569.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478897"],"photo_id":"1371478897","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/1e689ed333a98b3d5805e5956fefcbaa.jpg","text":"TemporaryFile(/tmp/multipartBody1362553497007997689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752120365672,"filename":"image_10072025_06_04_01_9569.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478897"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478897"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.863669633865356 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:06:04.195211
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/05/image_10072025_06_05_02_1657.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/05/image_10072025_06_05_02_1657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/05/image_10072025_06_05_02_1657.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371478927"],"photo_id":"1371478927","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/8fbdce8ca9fe73c8cf7fa632887b2531.jpg","text":"TemporaryFile(/tmp/multipartBody3163359889889301098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752120425483,"filename":"image_10072025_06_05_02_1657.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371478927"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371478927"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.027213096618652 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:07:04.078173
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:08:02.903455
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/06/image_10072025_06_06_01_8458.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/06/image_10072025_06_06_01_8458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/06/image_10072025_06_06_01_8458.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.8855736255645752 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 -f /home/pi/Desktop/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 06:09:03.209626
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/08/image_10072025_06_08_01_5740.jpg', 2), ('/home/pi/Desktop/images/10072025/06/06/image_10072025_06_06_01_8458.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/08/image_10072025_06_08_01_5740.jpg', '/home/pi/Desktop/images/10072025/06/06/image_10072025_06_06_01_8458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/08/image_10072025_06_08_01_5740.jpg
/home/pi/Desktop/images/10072025/06/06/image_10072025_06_06_01_8458.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479018","1371479014"],"photo_ids_order":["1371479014","1371479018"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/b21b747b26e81b6599e53e7d53390f13.jpg","text":"TemporaryFile(/tmp/multipartBody959768123853646926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752120604636,"filename":"image_10072025_06_06_01_8458.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/d3502fc5b32b86d8780945f0a83fa644.jpg","text":"TemporaryFile(/tmp/multipartBody4495581571116635405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752120604636,"filename":"image_10072025_06_08_01_5740.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371479018","file0":"1371479014"},"map_files_photo_id_array":[{"photo_id":"1371479018","filename":"file1"},{"photo_id":"1371479014","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371479018":["hashtag1","hashtag2"]},{"1371479014":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371479018, 1371479014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.168765783309937 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:10:04.745311
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/09/image_10072025_06_09_01_3592.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/09/image_10072025_06_09_01_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/09/image_10072025_06_09_01_3592.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479069"],"photo_id":"1371479069","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/03eef1d2a84a6fb172dcb688cf10421e.jpg","text":"TemporaryFile(/tmp/multipartBody8452830936325754277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752120665805,"filename":"image_10072025_06_09_01_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371479069"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371479069"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.82523488998413 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:11:03.358780
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/10/image_10072025_06_10_01_2870.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/10/image_10072025_06_10_01_2870.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/10/image_10072025_06_10_01_2870.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479100"],"photo_id":"1371479100","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/01ec9629b989dce3d6ae6f22cbbcae91.jpg","text":"TemporaryFile(/tmp/multipartBody3468397140062189623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752120724353,"filename":"image_10072025_06_10_01_2870.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371479100"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371479100"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.232686758041382 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:12:05.248408
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/11/image_10072025_06_11_01_7331.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/11/image_10072025_06_11_01_7331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/11/image_10072025_06_11_01_7331.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.133934497833252 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 -f /home/pi/Desktop/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 06:13:03.767964
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/12/image_10072025_06_12_01_3862.jpg', 2), ('/home/pi/Desktop/images/10072025/06/11/image_10072025_06_11_01_7331.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/12/image_10072025_06_12_01_3862.jpg', '/home/pi/Desktop/images/10072025/06/11/image_10072025_06_11_01_7331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/12/image_10072025_06_12_01_3862.jpg
/home/pi/Desktop/images/10072025/06/11/image_10072025_06_11_01_7331.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479156","1371479152"],"photo_ids_order":["1371479152","1371479156"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/c78663c2f8814d5488b70910fd0b6a48.jpg","text":"TemporaryFile(/tmp/multipartBody3501827207126320214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752120845175,"filename":"image_10072025_06_11_01_7331.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/d6dd3a5546affbdf490a10ea0ac8d80d.jpg","text":"TemporaryFile(/tmp/multipartBody5932138786427303317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752120845175,"filename":"image_10072025_06_12_01_3862.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371479156","file0":"1371479152"},"map_files_photo_id_array":[{"photo_id":"1371479156","filename":"file1"},{"photo_id":"1371479152","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371479156":["hashtag1","hashtag2"]},{"1371479152":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371479156, 1371479152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 26.342396020889282 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:14:05.319745
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/13/image_10072025_06_13_01_9777.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/13/image_10072025_06_13_01_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/13/image_10072025_06_13_01_9777.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479177"],"photo_id":"1371479177","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/32e9b48dcd8530378ff54d169350210b.jpg","text":"TemporaryFile(/tmp/multipartBody8871987923970789538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752120906592,"filename":"image_10072025_06_13_01_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371479177"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371479177"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.022993803024292 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:15:04.491422
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/14/image_10072025_06_14_02_0652.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/14/image_10072025_06_14_02_0652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/14/image_10072025_06_14_02_0652.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479211"],"photo_id":"1371479211","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/a80b4522422de36aa184562ab5818158.jpg","text":"TemporaryFile(/tmp/multipartBody2697531539594201355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752120965962,"filename":"image_10072025_06_14_02_0652.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371479211"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371479211"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.742010593414307 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:16:03.995516
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/15/image_10072025_06_15_02_1548.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/15/image_10072025_06_15_02_1548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/15/image_10072025_06_15_02_1548.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479234"],"photo_id":"1371479234","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/067229d54cc9b28af887b1468bdd3324.jpg","text":"TemporaryFile(/tmp/multipartBody6171499277280241288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752121024988,"filename":"image_10072025_06_15_02_1548.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371479234"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371479234"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.74414849281311 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:17:04.205075
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/16/image_10072025_06_16_01_7892.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/16/image_10072025_06_16_01_7892.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/16/image_10072025_06_16_01_7892.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479252"],"photo_id":"1371479252","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/6e1e839fd98920abf65739acb1519053.jpg","text":"TemporaryFile(/tmp/multipartBody8837486818577303772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752121085784,"filename":"image_10072025_06_16_01_7892.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371479252"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371479252"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.538914203643799 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:18:04.455344
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/17/image_10072025_06_17_02_0222.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/17/image_10072025_06_17_02_0222.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/17/image_10072025_06_17_02_0222.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479272"],"photo_id":"1371479272","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/6fe3e90eb9733c8e26d805eebcd89c2e.jpg","text":"TemporaryFile(/tmp/multipartBody22152982945480022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752121145709,"filename":"image_10072025_06_17_02_0222.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371479272"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371479272"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.09407377243042 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:19:04.625197
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/18/image_10072025_06_18_01_3867.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/18/image_10072025_06_18_01_3867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/18/image_10072025_06_18_01_3867.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479299"],"photo_id":"1371479299","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/1b0b09ae83388fc7417316d6b380fd52.jpg","text":"TemporaryFile(/tmp/multipartBody8453304138005313629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752121206143,"filename":"image_10072025_06_18_01_3867.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371479299"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371479299"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 19.58822226524353 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:20:03.956599
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/19/image_10072025_06_19_02_1531.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/19/image_10072025_06_19_02_1531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/19/image_10072025_06_19_02_1531.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479330"],"photo_id":"1371479330","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/ae009476cc7928786bf87d6b7ecce712.jpg","text":"TemporaryFile(/tmp/multipartBody379367324574476187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752121265026,"filename":"image_10072025_06_19_02_1531.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371479330"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371479330"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.001400232315063 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:21:03.871509
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:22:03.635130
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:23:04.450599
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/20/image_10072025_06_20_01_7315.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/20/image_10072025_06_20_01_7315.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/20/image_10072025_06_20_01_7315.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479391"],"photo_id":"1371479391","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/e90ad4b92bed4431a5e38c466ab2cbc7.jpg","text":"TemporaryFile(/tmp/multipartBody4875737204187727951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752121445499,"filename":"image_10072025_06_20_01_7315.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371479391"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371479391"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.248396396636963 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:24:03.952833
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/23/image_10072025_06_23_02_1517.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/23/image_10072025_06_23_02_1517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/23/image_10072025_06_23_02_1517.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479407"],"photo_id":"1371479407","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/73c98005eab70c2355c0b58ba94d693c.jpg","text":"TemporaryFile(/tmp/multipartBody826516072184700296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752121505107,"filename":"image_10072025_06_23_02_1517.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371479407"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371479407"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.48629379272461 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:25:06.071913
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/24/image_10072025_06_24_01_8243.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/24/image_10072025_06_24_01_8243.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/24/image_10072025_06_24_01_8243.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479437"],"photo_id":"1371479437","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/3c14cfcd07be00752648d6eca24cd384.jpg","text":"TemporaryFile(/tmp/multipartBody732542351296509581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752121567816,"filename":"image_10072025_06_24_01_8243.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371479437"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371479437"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.574662685394287 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:26:05.117557
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/25/image_10072025_06_25_01_4550.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/25/image_10072025_06_25_01_4550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/25/image_10072025_06_25_01_4550.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.1792595386505127 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 -f /home/pi/Desktop/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 06:27:04.373278
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/25/image_10072025_06_25_01_4550.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/25/image_10072025_06_25_01_4550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/25/image_10072025_06_25_01_4550.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479464"],"photo_id":"1371479464","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/038101739d119e8030db525fa7051b73.jpg","text":"TemporaryFile(/tmp/multipartBody939179949453749376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752121685791,"filename":"image_10072025_06_25_01_4550.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371479464"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371479464"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.453488111495972 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:28:04.696661
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/26/image_10072025_06_26_01_4093.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/26/image_10072025_06_26_01_4093.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/26/image_10072025_06_26_01_4093.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479483"],"photo_id":"1371479483","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/f087c0ef6cd8681368dc075e0a7f0054.jpg","text":"TemporaryFile(/tmp/multipartBody4470308497880185157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752121745876,"filename":"image_10072025_06_26_01_4093.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371479483"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371479483"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.451540470123291 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:29:04.946717
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/28/image_10072025_06_28_01_7675.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/28/image_10072025_06_28_01_7675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/28/image_10072025_06_28_01_7675.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479500"],"photo_id":"1371479500","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/3256e823443d15f3767a287d9c3677ca.jpg","text":"TemporaryFile(/tmp/multipartBody416979211598735203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752121806004,"filename":"image_10072025_06_28_01_7675.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371479500"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371479500"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.293517589569092 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:30:04.585528
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/29/image_10072025_06_29_02_0409.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/29/image_10072025_06_29_02_0409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/29/image_10072025_06_29_02_0409.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479533"],"photo_id":"1371479533","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/00c99641122e3d4c104d654a8cccf950.jpg","text":"TemporaryFile(/tmp/multipartBody3931185548176900550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752121865944,"filename":"image_10072025_06_29_02_0409.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371479533"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371479533"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.460814476013184 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:31:04.438635
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/30/image_10072025_06_30_02_1821.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/30/image_10072025_06_30_02_1821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/30/image_10072025_06_30_02_1821.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479553"],"photo_id":"1371479553","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/d5c5aa041db685bbb7c73f6dd5e946ba.jpg","text":"TemporaryFile(/tmp/multipartBody2718858194318835647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752121925788,"filename":"image_10072025_06_30_02_1821.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371479553"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371479553"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.795611381530762 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:32:03.600531
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/31/image_10072025_06_31_02_1125.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/31/image_10072025_06_31_02_1125.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/31/image_10072025_06_31_02_1125.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479583"],"photo_id":"1371479583","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/6ebf7900d7d68ed5c4ad4fb63e31fe56.jpg","text":"TemporaryFile(/tmp/multipartBody2063089809560523916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752121984602,"filename":"image_10072025_06_31_02_1125.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371479583"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371479583"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.675873756408691 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:33:04.715503
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/32/image_10072025_06_32_01_9029.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/32/image_10072025_06_32_01_9029.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/32/image_10072025_06_32_01_9029.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479610"],"photo_id":"1371479610","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/0244c15de476465b98655c290d9f7060.jpg","text":"TemporaryFile(/tmp/multipartBody1669265183983962588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752122045762,"filename":"image_10072025_06_32_01_9029.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371479610"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371479610"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.799320459365845 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:34:04.941336
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/33/image_10072025_06_33_01_6329.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/33/image_10072025_06_33_01_6329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/33/image_10072025_06_33_01_6329.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479651"],"photo_id":"1371479651","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/1a1106c960c8629124e47dc26765bea1.jpg","text":"TemporaryFile(/tmp/multipartBody4114574808598886294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752122106206,"filename":"image_10072025_06_33_01_6329.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371479651"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371479651"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 21.49440026283264 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:35:04.187492
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/34/image_10072025_06_34_01_4229.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/34/image_10072025_06_34_01_4229.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/34/image_10072025_06_34_01_4229.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479670"],"photo_id":"1371479670","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/aa89a457ee55e7b21f1572c3001634d9.jpg","text":"TemporaryFile(/tmp/multipartBody9080461462644290915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752122165444,"filename":"image_10072025_06_34_01_4229.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371479670"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371479670"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.58580493927002 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:36:05.094597
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/35/image_10072025_06_35_01_9864.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/35/image_10072025_06_35_01_9864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/35/image_10072025_06_35_01_9864.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479694"],"photo_id":"1371479694","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/0f9055eef50f6cc3cce03fa0f5133a05.jpg","text":"TemporaryFile(/tmp/multipartBody4815717191436314780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752122226359,"filename":"image_10072025_06_35_01_9864.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371479694"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371479694"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.111515283584595 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:37:05.064925
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/36/image_10072025_06_36_01_6501.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/36/image_10072025_06_36_01_6501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/36/image_10072025_06_36_01_6501.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479718"],"photo_id":"1371479718","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/bd03ef70b1a27dfa2574dd450530d3aa.jpg","text":"TemporaryFile(/tmp/multipartBody1645305725912138937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752122286333,"filename":"image_10072025_06_36_01_6501.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371479718"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371479718"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.986437559127808 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:38:03.940487
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/37/image_10072025_06_37_01_5795.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/37/image_10072025_06_37_01_5795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/37/image_10072025_06_37_01_5795.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.1848797798156738 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 -f /home/pi/Desktop/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 06:39:03.550364
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/37/image_10072025_06_37_01_5795.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/37/image_10072025_06_37_01_5795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/37/image_10072025_06_37_01_5795.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479751"],"photo_id":"1371479751","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/a2e685cb69f168e106bf215217cc48b6.jpg","text":"TemporaryFile(/tmp/multipartBody1606007739628268884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752122404587,"filename":"image_10072025_06_37_01_5795.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371479751"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371479751"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.00095248222351 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:40:03.064100
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/40/image_10072025_06_40_01_7435.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/40/image_10072025_06_40_01_7435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/40/image_10072025_06_40_01_7435.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479773"],"photo_id":"1371479773","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/91a9a1f4159a4cc823696cc34db4bbf2.jpg","text":"TemporaryFile(/tmp/multipartBody2431443507180677693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752122464057,"filename":"image_10072025_06_40_01_7435.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371479773"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371479773"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.600242137908936 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:41:04.932345
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/38/image_10072025_06_38_02_2616.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/38/image_10072025_06_38_02_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/38/image_10072025_06_38_02_2616.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479799"],"photo_id":"1371479799","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/983ece8bf29c8079ec5ab4537c5cb278.jpg","text":"TemporaryFile(/tmp/multipartBody4571278185784420990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752122526348,"filename":"image_10072025_06_38_02_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371479799"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371479799"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.67237138748169 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:42:03.720314
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/41/image_10072025_06_41_01_5391.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/41/image_10072025_06_41_01_5391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/41/image_10072025_06_41_01_5391.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479827"],"photo_id":"1371479827","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/b11effd2850c8539326211c5f1f72e57.jpg","text":"TemporaryFile(/tmp/multipartBody4465812140451457367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752122585006,"filename":"image_10072025_06_41_01_5391.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371479827"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371479827"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.15851354598999 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:43:04.670108
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:44:02.744406
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:45:03.706359
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:46:03.193363
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/45/image_10072025_06_45_01_2996.jpg', 2), ('/home/pi/Desktop/images/10072025/06/42/image_10072025_06_42_01_8770.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/45/image_10072025_06_45_01_2996.jpg', '/home/pi/Desktop/images/10072025/06/42/image_10072025_06_42_01_8770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/45/image_10072025_06_45_01_2996.jpg
/home/pi/Desktop/images/10072025/06/42/image_10072025_06_42_01_8770.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479910","1371479913"],"photo_ids_order":["1371479910","1371479913"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/ba3fae4128f9118ff0df58e887d8475f.jpg","text":"TemporaryFile(/tmp/multipartBody4408857588250082457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752122824625,"filename":"image_10072025_06_45_01_2996.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/514c82b85d596acf0c85e201e5dcc7d0.jpg","text":"TemporaryFile(/tmp/multipartBody8466272375268718500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752122824625,"filename":"image_10072025_06_42_01_8770.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371479913","file0":"1371479910"},"map_files_photo_id_array":[{"photo_id":"1371479913","filename":"file1"},{"photo_id":"1371479910","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371479910":["hashtag1","hashtag2"]},{"1371479913":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371479910, 1371479913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.03375267982483 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:47:04.930811
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/46/image_10072025_06_46_01_6247.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/46/image_10072025_06_46_01_6247.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/46/image_10072025_06_46_01_6247.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479928"],"photo_id":"1371479928","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/4516d5bb0b30085c0f477d007e003c27.jpg","text":"TemporaryFile(/tmp/multipartBody3842570703068987380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752122886467,"filename":"image_10072025_06_46_01_6247.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371479928"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371479928"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.942777156829834 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:48:04.189193
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/47/image_10072025_06_47_01_6131.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/47/image_10072025_06_47_01_6131.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/47/image_10072025_06_47_01_6131.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.1469554901123047 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 -f /home/pi/Desktop/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 06:49:04.289751
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/48/image_10072025_06_48_01_6587.jpg', 2), ('/home/pi/Desktop/images/10072025/06/47/image_10072025_06_47_01_6131.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/48/image_10072025_06_48_01_6587.jpg', '/home/pi/Desktop/images/10072025/06/47/image_10072025_06_47_01_6131.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/48/image_10072025_06_48_01_6587.jpg
/home/pi/Desktop/images/10072025/06/47/image_10072025_06_47_01_6131.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479966","1371479969"],"photo_ids_order":["1371479966","1371479969"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/ed47f363ea3abf94da95d33a47bf8962.jpg","text":"TemporaryFile(/tmp/multipartBody7060349330690121695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752123005789,"filename":"image_10072025_06_48_01_6587.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/e640f99c5e29feea4fab29159d4d35d6.jpg","text":"TemporaryFile(/tmp/multipartBody2424547980464465031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752123005789,"filename":"image_10072025_06_47_01_6131.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371479969","file0":"1371479966"},"map_files_photo_id_array":[{"photo_id":"1371479969","filename":"file1"},{"photo_id":"1371479966","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371479966":["hashtag1","hashtag2"]},{"1371479969":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371479966, 1371479969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.65977907180786 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:50:04.679972
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/49/image_10072025_06_49_01_7327.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/49/image_10072025_06_49_01_7327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/49/image_10072025_06_49_01_7327.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371479997"],"photo_id":"1371479997","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/bba9f5fa8cfa4d9678f2d8e285836a42.jpg","text":"TemporaryFile(/tmp/multipartBody321438904559358069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752123065996,"filename":"image_10072025_06_49_01_7327.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371479997"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371479997"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.126328706741333 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:51:04.321597
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/50/image_10072025_06_50_02_3015.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/50/image_10072025_06_50_02_3015.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/50/image_10072025_06_50_02_3015.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371480019"],"photo_id":"1371480019","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/82da830b8d4803923ee852e5afe8f01f.jpg","text":"TemporaryFile(/tmp/multipartBody3393205891141676891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752123125370,"filename":"image_10072025_06_50_02_3015.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371480019"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371480019"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.10902452468872 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:52:03.794224
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/51/image_10072025_06_51_02_0168.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/51/image_10072025_06_51_02_0168.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/51/image_10072025_06_51_02_0168.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371480035"],"photo_id":"1371480035","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/f9792b883f987b663b39ee68d1514b8f.jpg","text":"TemporaryFile(/tmp/multipartBody1900749239337636485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752123184823,"filename":"image_10072025_06_51_02_0168.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371480035"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371480035"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.403853178024292 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:53:03.944366
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/52/image_10072025_06_52_01_8578.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/52/image_10072025_06_52_01_8578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/52/image_10072025_06_52_01_8578.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371480047"],"photo_id":"1371480047","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/a1ce244bd45e4dc45fc5e2d949469f03.jpg","text":"TemporaryFile(/tmp/multipartBody4755666141290195714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752123245016,"filename":"image_10072025_06_52_01_8578.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371480047"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371480047"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.048649072647095 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:54:03.292865
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/53/image_10072025_06_53_02_1427.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/53/image_10072025_06_53_02_1427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/53/image_10072025_06_53_02_1427.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371480071"],"photo_id":"1371480071","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/a8c2c995449b49a9530994d51261818a.jpg","text":"TemporaryFile(/tmp/multipartBody127088923995869458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752123304362,"filename":"image_10072025_06_53_02_1427.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371480071"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371480071"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.987223148345947 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:55:04.399637
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/54/image_10072025_06_54_01_5661.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/54/image_10072025_06_54_01_5661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/54/image_10072025_06_54_01_5661.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371480096"],"photo_id":"1371480096","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/ea575011e00e545eafe38ba3b5959d1d.jpg","text":"TemporaryFile(/tmp/multipartBody426912037926419560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752123365428,"filename":"image_10072025_06_54_01_5661.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371480096"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371480096"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.885752201080322 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:56:04.292741
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/55/image_10072025_06_55_01_6411.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/55/image_10072025_06_55_01_6411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/55/image_10072025_06_55_01_6411.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371480115"],"photo_id":"1371480115","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/74e5330804ee609fe4bd2a8b2d542f06.jpg","text":"TemporaryFile(/tmp/multipartBody8895360931089592222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752123425623,"filename":"image_10072025_06_55_01_6411.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371480115"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371480115"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.985462427139282 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:57:04.095970
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/56/image_10072025_06_56_01_7982.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/56/image_10072025_06_56_01_7982.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/56/image_10072025_06_56_01_7982.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371480134"],"photo_id":"1371480134","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/b0fd3be9c9da859fe94d315355736649.jpg","text":"TemporaryFile(/tmp/multipartBody8892797521593776333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752123485154,"filename":"image_10072025_06_56_01_7982.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371480134"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371480134"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.173746347427368 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 06:59:03.998432
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/58/image_10072025_06_58_01_6006.jpg', 2), ('/home/pi/Desktop/images/10072025/06/57/image_10072025_06_57_02_0450.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/58/image_10072025_06_58_01_6006.jpg', '/home/pi/Desktop/images/10072025/06/57/image_10072025_06_57_02_0450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/58/image_10072025_06_58_01_6006.jpg
/home/pi/Desktop/images/10072025/06/57/image_10072025_06_57_02_0450.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371480167","1371480161"],"photo_ids_order":["1371480161","1371480167"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/3ef221c3984c1ec3f4f1047f197adf5a.jpg","text":"TemporaryFile(/tmp/multipartBody3992716378349150455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752123605807,"filename":"image_10072025_06_57_02_0450.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/e971fa465d7f2742fd6bc0383f18eb61.jpg","text":"TemporaryFile(/tmp/multipartBody7158553017774090047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752123605807,"filename":"image_10072025_06_58_01_6006.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371480167","file0":"1371480161"},"map_files_photo_id_array":[{"photo_id":"1371480167","filename":"file1"},{"photo_id":"1371480161","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371480167":["hashtag1","hashtag2"]},{"1371480161":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371480167, 1371480161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.45589017868042 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:00:04.502967
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/06/59/image_10072025_06_59_02_1705.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/06/59/image_10072025_06_59_02_1705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/06/59/image_10072025_06_59_02_1705.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371480230"],"photo_id":"1371480230","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/08b7675f85ef2080d14a281677286caa.jpg","text":"TemporaryFile(/tmp/multipartBody6324709799215459321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752123665730,"filename":"image_10072025_06_59_02_1705.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371480230"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371480230"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.65543246269226 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:01:04.410290
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/00/image_10072025_07_00_01_5458.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/00/image_10072025_07_00_01_5458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/00/image_10072025_07_00_01_5458.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371480259"],"photo_id":"1371480259","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/3c978fcbd0538634721b71b009e934c4.jpg","text":"TemporaryFile(/tmp/multipartBody1686828438619856886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752123725455,"filename":"image_10072025_07_00_01_5458.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371480259"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371480259"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.83109974861145 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:02:03.489995
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/01/image_10072025_07_01_01_4918.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/01/image_10072025_07_01_01_4918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/01/image_10072025_07_01_01_4918.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.8970050811767578 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 -f /home/pi/Desktop/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 07:03:03.878764
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/02/image_10072025_07_02_01_9572.jpg', 2), ('/home/pi/Desktop/images/10072025/07/01/image_10072025_07_01_01_4918.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/02/image_10072025_07_02_01_9572.jpg', '/home/pi/Desktop/images/10072025/07/01/image_10072025_07_01_01_4918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/02/image_10072025_07_02_01_9572.jpg
/home/pi/Desktop/images/10072025/07/01/image_10072025_07_01_01_4918.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371480296","1371480293"],"photo_ids_order":["1371480293","1371480296"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/da292888ab837da9af1018cd03b55174.jpg","text":"TemporaryFile(/tmp/multipartBody4605364915037868898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752123845330,"filename":"image_10072025_07_01_01_4918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/0b4c8f5790fbe03c7d9602254cc49359.jpg","text":"TemporaryFile(/tmp/multipartBody8267243059260687417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752123845330,"filename":"image_10072025_07_02_01_9572.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371480296","file0":"1371480293"},"map_files_photo_id_array":[{"photo_id":"1371480296","filename":"file1"},{"photo_id":"1371480293","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371480296":["hashtag1","hashtag2"]},{"1371480293":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371480296, 1371480293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.68487048149109 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:04:04.919602
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:05:03.867162
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/03/image_10072025_07_03_01_3838.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/03/image_10072025_07_03_01_3838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/03/image_10072025_07_03_01_3838.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371480327"],"photo_id":"1371480327","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/39bc1bd1bed09bd10e8367d23b0bf396.jpg","text":"TemporaryFile(/tmp/multipartBody6434887356834780944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752123965100,"filename":"image_10072025_07_03_01_3838.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371480327"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371480327"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.071964502334595 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:06:04.528775
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/05/image_10072025_07_05_01_5036.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/05/image_10072025_07_05_01_5036.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/05/image_10072025_07_05_01_5036.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371480355"],"photo_id":"1371480355","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/a008a3b3a5e8f5ae3dee94e99b32f3d3.jpg","text":"TemporaryFile(/tmp/multipartBody6601356411490607466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752124025780,"filename":"image_10072025_07_05_01_5036.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371480355"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371480355"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.39528751373291 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:07:04.192798
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/06/image_10072025_07_06_02_1753.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/06/image_10072025_07_06_02_1753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/06/image_10072025_07_06_02_1753.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371480379"],"photo_id":"1371480379","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/ca68ea9dfbfb4545e3d0c962118f7dc4.jpg","text":"TemporaryFile(/tmp/multipartBody5177253282543284073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752124085500,"filename":"image_10072025_07_06_02_1753.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371480379"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371480379"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.37502384185791 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:08:04.419545
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/07/image_10072025_07_07_02_2138.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/07/image_10072025_07_07_02_2138.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/07/image_10072025_07_07_02_2138.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371480398"],"photo_id":"1371480398","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/1cf814a60db9e612446d74f678adbc6e.jpg","text":"TemporaryFile(/tmp/multipartBody5900658788938887622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752124145650,"filename":"image_10072025_07_07_02_2138.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371480398"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371480398"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.056030988693237 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:09:04.071507
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/08/image_10072025_07_08_01_4349.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/08/image_10072025_07_08_01_4349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/08/image_10072025_07_08_01_4349.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371480419"],"photo_id":"1371480419","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/6f33ccdfd3b8b9dc454ad32c2567f4e4.jpg","text":"TemporaryFile(/tmp/multipartBody114052021207724320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752124205410,"filename":"image_10072025_07_08_01_4349.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371480419"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371480419"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.59737753868103 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:10:03.622906
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/09/image_10072025_07_09_01_3248.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/09/image_10072025_07_09_01_3248.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/09/image_10072025_07_09_01_3248.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.1471173763275146 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 -f /home/pi/Desktop/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 07:11:03.365259
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/10/image_10072025_07_10_01_6135.jpg', 2), ('/home/pi/Desktop/images/10072025/07/09/image_10072025_07_09_01_3248.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/10/image_10072025_07_10_01_6135.jpg', '/home/pi/Desktop/images/10072025/07/09/image_10072025_07_09_01_3248.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/10/image_10072025_07_10_01_6135.jpg
/home/pi/Desktop/images/10072025/07/09/image_10072025_07_09_01_3248.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371480498","1371480495"],"photo_ids_order":["1371480495","1371480498"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/c8d4fc0bb33fb41afbda58db1893824f.jpg","text":"TemporaryFile(/tmp/multipartBody286719620964996996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752124324930,"filename":"image_10072025_07_09_01_3248.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/66b4a14a93a07e1d372fb2645c1bdd19.jpg","text":"TemporaryFile(/tmp/multipartBody8748486048266851221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752124324930,"filename":"image_10072025_07_10_01_6135.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371480498","file0":"1371480495"},"map_files_photo_id_array":[{"photo_id":"1371480498","filename":"file1"},{"photo_id":"1371480495","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371480498":["hashtag1","hashtag2"]},{"1371480495":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371480498, 1371480495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.09149956703186 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:12:04.844031
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/11/image_10072025_07_11_01_2371.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/11/image_10072025_07_11_01_2371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/11/image_10072025_07_11_01_2371.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.9688503742218018 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 -f /home/pi/Desktop/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 07:13:03.294721
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/12/image_10072025_07_12_01_3450.jpg', 2), ('/home/pi/Desktop/images/10072025/07/11/image_10072025_07_11_01_2371.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/12/image_10072025_07_12_01_3450.jpg', '/home/pi/Desktop/images/10072025/07/11/image_10072025_07_11_01_2371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/12/image_10072025_07_12_01_3450.jpg
/home/pi/Desktop/images/10072025/07/11/image_10072025_07_11_01_2371.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371480535","1371480532"],"photo_ids_order":["1371480532","1371480535"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/6b601c7d43caa15e5a0aaa17e64a2c7d.jpg","text":"TemporaryFile(/tmp/multipartBody7031701286003057609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752124444934,"filename":"image_10072025_07_11_01_2371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/610ba3db5bb0b74906033e607a75420f.jpg","text":"TemporaryFile(/tmp/multipartBody4113607676778335234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752124444934,"filename":"image_10072025_07_12_01_3450.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371480535","file0":"1371480532"},"map_files_photo_id_array":[{"photo_id":"1371480535","filename":"file1"},{"photo_id":"1371480532","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371480535":["hashtag1","hashtag2"]},{"1371480532":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371480535, 1371480532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.46377420425415 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:14:04.902037
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/13/image_10072025_07_13_01_6193.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/13/image_10072025_07_13_01_6193.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/13/image_10072025_07_13_01_6193.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371480551"],"photo_id":"1371480551","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/446596bd402acadce2ad65cdd6763aa3.jpg","text":"TemporaryFile(/tmp/multipartBody5687503247009580914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752124506246,"filename":"image_10072025_07_13_01_6193.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371480551"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371480551"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.967482089996338 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:15:04.446813
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/14/image_10072025_07_14_01_2206.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/14/image_10072025_07_14_01_2206.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/14/image_10072025_07_14_01_2206.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371480572"],"photo_id":"1371480572","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/e7402cff0fe94583cde4ce91fe70dad4.jpg","text":"TemporaryFile(/tmp/multipartBody5518675825049459887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752124565580,"filename":"image_10072025_07_14_01_2206.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371480572"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371480572"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.393110752105713 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:16:04.565326
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/15/image_10072025_07_15_01_7925.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/15/image_10072025_07_15_01_7925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/15/image_10072025_07_15_01_7925.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371480602"],"photo_id":"1371480602","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/1643a3e06b2af81114e6937e29fa28d5.jpg","text":"TemporaryFile(/tmp/multipartBody1359290445432303716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752124625535,"filename":"image_10072025_07_15_01_7925.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371480602"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371480602"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.886478900909424 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:17:04.193100
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/16/image_10072025_07_16_01_9747.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/16/image_10072025_07_16_01_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/16/image_10072025_07_16_01_9747.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371480623"],"photo_id":"1371480623","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/00605af098f8cbade5e9b6c15ef2d8d3.jpg","text":"TemporaryFile(/tmp/multipartBody8516302789973466315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752124685672,"filename":"image_10072025_07_16_01_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371480623"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371480623"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.744872570037842 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:18:03.637960
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/17/image_10072025_07_17_02_2639.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/17/image_10072025_07_17_02_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/17/image_10072025_07_17_02_2639.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371480646"],"photo_id":"1371480646","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/bc38bf5afee91c9ae06cd47c112d121d.jpg","text":"TemporaryFile(/tmp/multipartBody4194255698451685777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752124744620,"filename":"image_10072025_07_17_02_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371480646"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371480646"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.466140031814575 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:19:04.690400
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/18/image_10072025_07_18_01_6722.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/18/image_10072025_07_18_01_6722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/18/image_10072025_07_18_01_6722.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371480664"],"photo_id":"1371480664","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/77d37b4c03e9bebc9322416baf5792cd.jpg","text":"TemporaryFile(/tmp/multipartBody3080418942801373975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752124806064,"filename":"image_10072025_07_18_01_6722.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371480664"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371480664"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.602391242980957 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:20:03.568015
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/19/image_10072025_07_19_01_2045.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/19/image_10072025_07_19_01_2045.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/19/image_10072025_07_19_01_2045.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.9560554027557373 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 -f /home/pi/Desktop/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 07:21:03.869991
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/20/image_10072025_07_20_01_9247.jpg', 2), ('/home/pi/Desktop/images/10072025/07/19/image_10072025_07_19_01_2045.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/20/image_10072025_07_20_01_9247.jpg', '/home/pi/Desktop/images/10072025/07/19/image_10072025_07_19_01_2045.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/20/image_10072025_07_20_01_9247.jpg
/home/pi/Desktop/images/10072025/07/19/image_10072025_07_19_01_2045.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371480773","1371480767"],"photo_ids_order":["1371480767","1371480773"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/7176c6859a45b16ceccdf61fbcf44fb5.jpg","text":"TemporaryFile(/tmp/multipartBody7879142309201273240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752124925389,"filename":"image_10072025_07_19_01_2045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/c30457ff8faa9cf6bd38817154361ab4.jpg","text":"TemporaryFile(/tmp/multipartBody9181142993575938932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752124925389,"filename":"image_10072025_07_20_01_9247.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371480773","file0":"1371480767"},"map_files_photo_id_array":[{"photo_id":"1371480773","filename":"file1"},{"photo_id":"1371480767","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371480773":["hashtag1","hashtag2"]},{"1371480767":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371480773, 1371480767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.054239988327026 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:22:05.174599
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/21/image_10072025_07_21_01_4086.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/21/image_10072025_07_21_01_4086.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/21/image_10072025_07_21_01_4086.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371480793"],"photo_id":"1371480793","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/b370777006251ba95aad5db3bea04c59.jpg","text":"TemporaryFile(/tmp/multipartBody5300949464002963625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752124986185,"filename":"image_10072025_07_21_01_4086.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371480793"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371480793"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.979689359664917 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:23:03.807054
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:24:03.315153
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/22/image_10072025_07_22_02_0263.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/22/image_10072025_07_22_02_0263.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/22/image_10072025_07_22_02_0263.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371480865"],"photo_id":"1371480865","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/e20cc314a3c61522d17c614002dead6b.jpg","text":"TemporaryFile(/tmp/multipartBody753539252439661770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752125104327,"filename":"image_10072025_07_22_02_0263.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371480865"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371480865"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.31053113937378 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:25:06.349448
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:26:03.558056
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:27:04.598994
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/24/image_10072025_07_24_01_5223.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/24/image_10072025_07_24_01_5223.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/24/image_10072025_07_24_01_5223.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371481112"],"photo_id":"1371481112","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/1ca3efaea658f6c60ada8f4e30bd5148.jpg","text":"TemporaryFile(/tmp/multipartBody187018924901722163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752125285956,"filename":"image_10072025_07_24_01_5223.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371481112"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371481112"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.478423357009888 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:28:05.503677
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/27/image_10072025_07_27_01_3240.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/27/image_10072025_07_27_01_3240.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/27/image_10072025_07_27_01_3240.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371481141"],"photo_id":"1371481141","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/6662341224f1db13a680294af5e39c12.jpg","text":"TemporaryFile(/tmp/multipartBody1559056098082279786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752125346728,"filename":"image_10072025_07_27_01_3240.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371481141"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371481141"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.776724338531494 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:29:04.772181
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 2 files
1 photos no longer on disk
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/07/30/image_10072025_07_30_02_1513.jpg', 2), ('/home/pi/Desktop/images/10072025/07/28/image_10072025_07_28_02_1798.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/28/image_10072025_07_28_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/07/28/image_10072025_07_28_02_1798.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371481155"],"photo_id":"1371481155","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/536239b58812d87bd3606b946bbde9bc.jpg","text":"TemporaryFile(/tmp/multipartBody1413054326830869659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752125406587,"filename":"image_10072025_07_28_02_1798.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371481155"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371481155"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.08641505241394 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/10072025/07/30/image_10072025_07_30_02_1513.jpg'],)
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:30:02.875744
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:31:03.262792
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/29/image_10072025_07_29_01_9272.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/29/image_10072025_07_29_01_9272.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/29/image_10072025_07_29_01_9272.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371481227"],"photo_id":"1371481227","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/00ea808d651ddcb8e86b9a9f6b9c7c99.jpg","text":"TemporaryFile(/tmp/multipartBody141111819931452749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752125524293,"filename":"image_10072025_07_29_01_9272.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371481227"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371481227"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.456652641296387 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:32:05.059907
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/31/image_10072025_07_31_01_4168.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/31/image_10072025_07_31_01_4168.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/31/image_10072025_07_31_01_4168.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371481250"],"photo_id":"1371481250","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/368e5b7ccd123473296b51b6b936661a.jpg","text":"TemporaryFile(/tmp/multipartBody5789319152265222931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752125586425,"filename":"image_10072025_07_31_01_4168.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371481250"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371481250"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.68551230430603 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:33:04.243040
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/32/image_10072025_07_32_01_4791.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/32/image_10072025_07_32_01_4791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/32/image_10072025_07_32_01_4791.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371481272"],"photo_id":"1371481272","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/d1a78b9a459b42cd18ad6b2519d832d4.jpg","text":"TemporaryFile(/tmp/multipartBody1299416756258300313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752125645537,"filename":"image_10072025_07_32_01_4791.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371481272"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371481272"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.375972509384155 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:34:04.812841
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/33/image_10072025_07_33_01_9200.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/33/image_10072025_07_33_01_9200.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/33/image_10072025_07_33_01_9200.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371481299"],"photo_id":"1371481299","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/a8e3f03b9704483219da97c3fb54a84c.jpg","text":"TemporaryFile(/tmp/multipartBody6465153765184319461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752125706003,"filename":"image_10072025_07_33_01_9200.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371481299"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371481299"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.484076976776123 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:35:03.952605
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/34/image_10072025_07_34_01_4396.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/34/image_10072025_07_34_01_4396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/34/image_10072025_07_34_01_4396.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371481325"],"photo_id":"1371481325","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/267a3eb6315884288d955ecda25c7bf1.jpg","text":"TemporaryFile(/tmp/multipartBody6537985053175271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752125765277,"filename":"image_10072025_07_34_01_4396.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371481325"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371481325"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.675868034362793 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:36:05.805677
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/35/image_10072025_07_35_01_4571.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/35/image_10072025_07_35_01_4571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/35/image_10072025_07_35_01_4571.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371481344"],"photo_id":"1371481344","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/5d685e875108cdf8ce888de0f0cac2cb.jpg","text":"TemporaryFile(/tmp/multipartBody8742370376918427924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752125827045,"filename":"image_10072025_07_35_01_4571.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371481344"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371481344"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.28289270401001 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:37:03.965537
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/36/image_10072025_07_36_01_2699.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/36/image_10072025_07_36_01_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/36/image_10072025_07_36_01_2699.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371481372"],"photo_id":"1371481372","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/4b740b7b8e97cc1acf8b7400f6ea45e9.jpg","text":"TemporaryFile(/tmp/multipartBody2488594229988239761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752125885330,"filename":"image_10072025_07_36_01_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371481372"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371481372"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.304755449295044 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:38:03.503627
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/37/image_10072025_07_37_02_1863.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/37/image_10072025_07_37_02_1863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/37/image_10072025_07_37_02_1863.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371481415"],"photo_id":"1371481415","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/14ab9cb7ddb1bbe44d9f3d2d1139109b.jpg","text":"TemporaryFile(/tmp/multipartBody5439738955302484800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752125944733,"filename":"image_10072025_07_37_02_1863.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371481415"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371481415"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.432501316070557 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:39:04.199973
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/38/image_10072025_07_38_01_2031.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/38/image_10072025_07_38_01_2031.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/38/image_10072025_07_38_01_2031.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371481444"],"photo_id":"1371481444","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/b52e917a3b06c25aadd00a1f85d02c27.jpg","text":"TemporaryFile(/tmp/multipartBody6113416258555686909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752126005299,"filename":"image_10072025_07_38_01_2031.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371481444"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371481444"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.491636514663696 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:40:04.260255
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/39/image_10072025_07_39_01_3589.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/39/image_10072025_07_39_01_3589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/39/image_10072025_07_39_01_3589.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371481593"],"photo_id":"1371481593","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/80f6e25dd98506c19b68982b6057516c.jpg","text":"TemporaryFile(/tmp/multipartBody2512587097311457820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752126065290,"filename":"image_10072025_07_39_01_3589.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371481593"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371481593"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.425791025161743 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:41:04.389155
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:42:03.623965
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/40/image_10072025_07_40_01_8914.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/40/image_10072025_07_40_01_8914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/40/image_10072025_07_40_01_8914.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371481684"],"photo_id":"1371481684","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/d070729e2a999fae4c26d37a53dad7f8.jpg","text":"TemporaryFile(/tmp/multipartBody1841285465668772094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752126184624,"filename":"image_10072025_07_40_01_8914.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371481684"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371481684"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.775551557540894 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:43:04.694570
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:44:03.246105
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/42/image_10072025_07_42_01_7754.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/42/image_10072025_07_42_01_7754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/42/image_10072025_07_42_01_7754.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.1078777313232422 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 -f /home/pi/Desktop/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 07:45:03.757781
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/44/image_10072025_07_44_01_8617.jpg', 2), ('/home/pi/Desktop/images/10072025/07/42/image_10072025_07_42_01_7754.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/44/image_10072025_07_44_01_8617.jpg', '/home/pi/Desktop/images/10072025/07/42/image_10072025_07_42_01_7754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/44/image_10072025_07_44_01_8617.jpg
/home/pi/Desktop/images/10072025/07/42/image_10072025_07_42_01_7754.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371481742","1371481752"],"photo_ids_order":["1371481742","1371481752"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/603766b8a496c88396a6b66aedf62e67.jpg","text":"TemporaryFile(/tmp/multipartBody58811777886484141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752126365140,"filename":"image_10072025_07_44_01_8617.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/a2d0c3cb8ce35eb174215bb78e85319e.jpg","text":"TemporaryFile(/tmp/multipartBody2871081103072498228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752126365140,"filename":"image_10072025_07_42_01_7754.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371481752","file0":"1371481742"},"map_files_photo_id_array":[{"photo_id":"1371481752","filename":"file1"},{"photo_id":"1371481742","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371481742":["hashtag1","hashtag2"]},{"1371481752":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371481742, 1371481752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.19625449180603 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:46:04.800698
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/45/image_10072025_07_45_01_4578.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/45/image_10072025_07_45_01_4578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/45/image_10072025_07_45_01_4578.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.1659040451049805 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 -f /home/pi/Desktop/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 07:47:03.474168
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/46/image_10072025_07_46_01_8730.jpg', 2), ('/home/pi/Desktop/images/10072025/07/45/image_10072025_07_45_01_4578.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/46/image_10072025_07_46_01_8730.jpg', '/home/pi/Desktop/images/10072025/07/45/image_10072025_07_45_01_4578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/46/image_10072025_07_46_01_8730.jpg
/home/pi/Desktop/images/10072025/07/45/image_10072025_07_45_01_4578.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371481833","1371481827"],"photo_ids_order":["1371481827","1371481833"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/6fba57ce33fded7f56d4bb0df101895a.jpg","text":"TemporaryFile(/tmp/multipartBody5418845840419713516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752126484991,"filename":"image_10072025_07_45_01_4578.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/00067bf19268d8f79f33c9794b142df8.jpg","text":"TemporaryFile(/tmp/multipartBody262457390402499427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752126484991,"filename":"image_10072025_07_46_01_8730.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371481833","file0":"1371481827"},"map_files_photo_id_array":[{"photo_id":"1371481833","filename":"file1"},{"photo_id":"1371481827","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371481833":["hashtag1","hashtag2"]},{"1371481827":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371481833, 1371481827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.56252956390381 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:48:04.536833
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/47/image_10072025_07_47_01_8458.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/47/image_10072025_07_47_01_8458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/47/image_10072025_07_47_01_8458.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371481873"],"photo_id":"1371481873","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/1ba0e2b76db5071ba7a4c7c5d64f8ead.jpg","text":"TemporaryFile(/tmp/multipartBody5908721060998457250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752126545566,"filename":"image_10072025_07_47_01_8458.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371481873"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371481873"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.868882656097412 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:49:03.953493
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/48/image_10072025_07_48_01_3861.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/48/image_10072025_07_48_01_3861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/48/image_10072025_07_48_01_3861.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371481898"],"photo_id":"1371481898","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/27776cb7ea956aef741e4af0c038f15b.jpg","text":"TemporaryFile(/tmp/multipartBody4519091708508627815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752126605014,"filename":"image_10072025_07_48_01_3861.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371481898"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371481898"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.681405544281006 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:50:05.493567
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/49/image_10072025_07_49_01_4234.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/49/image_10072025_07_49_01_4234.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/49/image_10072025_07_49_01_4234.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371481921"],"photo_id":"1371481921","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/068d1e61a5f409ea200243b435d0d705.jpg","text":"TemporaryFile(/tmp/multipartBody7465250942889080356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752126666836,"filename":"image_10072025_07_49_01_4234.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371481921"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371481921"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.613826036453247 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:51:04.899814
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/50/image_10072025_07_50_01_5465.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/50/image_10072025_07_50_01_5465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/50/image_10072025_07_50_01_5465.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371481944"],"photo_id":"1371481944","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/32d44b27b524b9bb3c6b1478a94b6fa0.jpg","text":"TemporaryFile(/tmp/multipartBody8554754638360633106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752126725991,"filename":"image_10072025_07_50_01_5465.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371481944"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371481944"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.37739872932434 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:52:04.172776
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/51/image_10072025_07_51_02_2337.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/51/image_10072025_07_51_02_2337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/51/image_10072025_07_51_02_2337.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371481969"],"photo_id":"1371481969","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/30a51dcb06a2ed29389ddee158a15aa1.jpg","text":"TemporaryFile(/tmp/multipartBody1127755294832840627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752126785176,"filename":"image_10072025_07_51_02_2337.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371481969"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371481969"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.197019815444946 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:53:03.710032
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/52/image_10072025_07_52_02_2322.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/52/image_10072025_07_52_02_2322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/52/image_10072025_07_52_02_2322.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371481985"],"photo_id":"1371481985","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/453137b4d4fba0756c23b5f7b14df857.jpg","text":"TemporaryFile(/tmp/multipartBody6784268367830473928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752126844754,"filename":"image_10072025_07_52_02_2322.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371481985"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371481985"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.1748788356781 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:54:03.963029
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/53/image_10072025_07_53_01_8737.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/53/image_10072025_07_53_01_8737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/53/image_10072025_07_53_01_8737.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371482005"],"photo_id":"1371482005","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/1ad659a118fb0c494b39c4c254e70d70.jpg","text":"TemporaryFile(/tmp/multipartBody4261775599751637807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752126905260,"filename":"image_10072025_07_53_01_8737.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371482005"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371482005"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.064595460891724 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:55:04.077804
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/54/image_10072025_07_54_01_4262.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/54/image_10072025_07_54_01_4262.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/54/image_10072025_07_54_01_4262.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371482019"],"photo_id":"1371482019","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/a030ad3596613c7c940449531bbd5ec3.jpg","text":"TemporaryFile(/tmp/multipartBody563271718100193991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752126965127,"filename":"image_10072025_07_54_01_4262.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371482019"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371482019"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.445577621459961 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:56:03.395155
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/55/image_10072025_07_55_01_8545.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/55/image_10072025_07_55_01_8545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/55/image_10072025_07_55_01_8545.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371482038"],"photo_id":"1371482038","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/8fa9938e82de1532454e4792a402ef9d.jpg","text":"TemporaryFile(/tmp/multipartBody5148121928653382953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752127024407,"filename":"image_10072025_07_55_01_8545.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371482038"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371482038"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.234000444412231 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:57:04.045520
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/56/image_10072025_07_56_02_0490.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/56/image_10072025_07_56_02_0490.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/56/image_10072025_07_56_02_0490.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371482054"],"photo_id":"1371482054","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/a3568d67029a125efb47e0b2fc92d224.jpg","text":"TemporaryFile(/tmp/multipartBody252586237000029346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752127085051,"filename":"image_10072025_07_56_02_0490.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371482054"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371482054"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.947354793548584 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 07:59:04.183427
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/57/image_10072025_07_57_01_6567.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/57/image_10072025_07_57_01_6567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/57/image_10072025_07_57_01_6567.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371482073"],"photo_id":"1371482073","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/0560e15439ffba1af4a3b52f7f5df649.jpg","text":"TemporaryFile(/tmp/multipartBody8690486307752134816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752127205468,"filename":"image_10072025_07_57_01_6567.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371482073"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371482073"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.58367395401001 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:00:05.151308
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/07/59/image_10072025_07_59_01_5337.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/07/59/image_10072025_07_59_01_5337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/07/59/image_10072025_07_59_01_5337.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371482103"],"photo_id":"1371482103","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/bda355b368363483000447e0d2223c6a.jpg","text":"TemporaryFile(/tmp/multipartBody7818583521499460426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752127266178,"filename":"image_10072025_07_59_01_5337.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371482103"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371482103"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.355000972747803 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:01:03.863082
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/00/image_10072025_08_00_01_6523.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/00/image_10072025_08_00_01_6523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/00/image_10072025_08_00_01_6523.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371482130"],"photo_id":"1371482130","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/5130ced78e5cf14a115849d12323a771.jpg","text":"TemporaryFile(/tmp/multipartBody6534373745998976605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752127324941,"filename":"image_10072025_08_00_01_6523.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371482130"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371482130"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.588305234909058 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:02:03.807952
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:03:03.197149
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:04:03.445007
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:05:03.833827
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/01/image_10072025_08_01_02_2410.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/01/image_10072025_08_01_02_2410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/01/image_10072025_08_01_02_2410.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371482208"],"photo_id":"1371482208","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/4a59442f314f18c06db437efe517ce5b.jpg","text":"TemporaryFile(/tmp/multipartBody2470301198326750013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752127565042,"filename":"image_10072025_08_01_02_2410.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371482208"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371482208"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.343610286712646 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:06:05.133372
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/05/image_10072025_08_05_01_9101.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/05/image_10072025_08_05_01_9101.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/05/image_10072025_08_05_01_9101.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371482230"],"photo_id":"1371482230","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/7ffe1a4266dfd36032c4b9fca1ffc580.jpg","text":"TemporaryFile(/tmp/multipartBody1426445173059082254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752127626413,"filename":"image_10072025_08_05_01_9101.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371482230"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371482230"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.183775901794434 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:07:04.426613
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/06/image_10072025_08_06_02_0440.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/06/image_10072025_08_06_02_0440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/06/image_10072025_08_06_02_0440.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371482258"],"photo_id":"1371482258","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/ed815e0a3100aa99b5c6d8d748e2eebb.jpg","text":"TemporaryFile(/tmp/multipartBody1509247208070167131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752127685453,"filename":"image_10072025_08_06_02_0440.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371482258"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371482258"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.033639430999756 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:08:03.937692
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/07/image_10072025_08_07_01_5709.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/07/image_10072025_08_07_01_5709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/07/image_10072025_08_07_01_5709.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371482272"],"photo_id":"1371482272","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/8ffc219a7bf495c2d37126f73ab566b3.jpg","text":"TemporaryFile(/tmp/multipartBody3663040575216879322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752127744903,"filename":"image_10072025_08_07_01_5709.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371482272"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371482272"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.610585689544678 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:09:04.249614
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/08/image_10072025_08_08_01_8029.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/08/image_10072025_08_08_01_8029.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/08/image_10072025_08_08_01_8029.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371482296"],"photo_id":"1371482296","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/769c177a1ab8bfdf5995609e87e8f921.jpg","text":"TemporaryFile(/tmp/multipartBody8607265989729848022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752127805324,"filename":"image_10072025_08_08_01_8029.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371482296"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371482296"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.810581684112549 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:10:04.967364
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:11:03.720799
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/09/image_10072025_08_09_01_7087.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/09/image_10072025_08_09_01_7087.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/09/image_10072025_08_09_01_7087.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371482335"],"photo_id":"1371482335","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/26fb81efc267e70719ee19283272629a.jpg","text":"TemporaryFile(/tmp/multipartBody7306760968692218272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752127924836,"filename":"image_10072025_08_09_01_7087.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371482335"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371482335"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.129990577697754 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:12:03.775093
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/11/image_10072025_08_11_01_4662.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/11/image_10072025_08_11_01_4662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/11/image_10072025_08_11_01_4662.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371482363"],"photo_id":"1371482363","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/5ca1a325ed29647a4e11a9dc46c617c6.jpg","text":"TemporaryFile(/tmp/multipartBody554101712159780146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752127984782,"filename":"image_10072025_08_11_01_4662.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371482363"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371482363"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.116235494613647 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:13:03.620057
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/12/image_10072025_08_12_01_8254.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/12/image_10072025_08_12_01_8254.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/12/image_10072025_08_12_01_8254.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371482377"],"photo_id":"1371482377","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/ba9382cea53ff4edac20f822f77a0a74.jpg","text":"TemporaryFile(/tmp/multipartBody1566595336402393572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752128044651,"filename":"image_10072025_08_12_01_8254.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371482377"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371482377"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.926098823547363 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:14:04.638250
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/13/image_10072025_08_13_01_4622.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/13/image_10072025_08_13_01_4622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/13/image_10072025_08_13_01_4622.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371482399"],"photo_id":"1371482399","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/755f6fbddc61b50dc38ca65e4275ffae.jpg","text":"TemporaryFile(/tmp/multipartBody209684611438848918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752128105920,"filename":"image_10072025_08_13_01_4622.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371482399"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371482399"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.71513843536377 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:15:04.011683
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:16:02.988707
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/14/image_10072025_08_14_01_6155.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/14/image_10072025_08_14_01_6155.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/14/image_10072025_08_14_01_6155.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371482445"],"photo_id":"1371482445","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/7de9561b41687fe9b25690311e3d0f33.jpg","text":"TemporaryFile(/tmp/multipartBody6168229956407871007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752128223988,"filename":"image_10072025_08_14_01_6155.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371482445"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371482445"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.769179582595825 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:17:05.183158
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/16/image_10072025_08_16_01_5320.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/16/image_10072025_08_16_01_5320.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/16/image_10072025_08_16_01_5320.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371482468"],"photo_id":"1371482468","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/997994906d005e22d66b57a6d6e37137.jpg","text":"TemporaryFile(/tmp/multipartBody319533351098045218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752128286656,"filename":"image_10072025_08_16_01_5320.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371482468"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371482468"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.758460760116577 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:18:04.065931
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/17/image_10072025_08_17_01_4933.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/17/image_10072025_08_17_01_4933.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/17/image_10072025_08_17_01_4933.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371482484"],"photo_id":"1371482484","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/37f9164de53c5eddffdb2e88cb6c7b01.jpg","text":"TemporaryFile(/tmp/multipartBody62526043100185584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752128345323,"filename":"image_10072025_08_17_01_4933.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371482484"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371482484"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.673061609268188 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:19:03.791248
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 1 files
1 photos no longer on disk
no photos to upload
time to upload: 0.7713737487792969 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/10072025/08/20/image_10072025_08_20_01_3000.jpg'],)
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/08/20/image_10072025_08_20_01_3000.jpg', 2)]
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:20:03.012737
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:21:03.851118
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/18/image_10072025_08_18_02_0152.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/18/image_10072025_08_18_02_0152.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/18/image_10072025_08_18_02_0152.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371482555"],"photo_id":"1371482555","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/c3a982d95433483b7ec1c7735867a29c.jpg","text":"TemporaryFile(/tmp/multipartBody7294923881921819796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752128525045,"filename":"image_10072025_08_18_02_0152.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371482555"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371482555"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.100251913070679 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:22:03.997026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:23:03.659663
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:24:04.754832
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:25:06.084253
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/21/image_10072025_08_21_01_5674.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/21/image_10072025_08_21_01_5674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/21/image_10072025_08_21_01_5674.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371482629"],"photo_id":"1371482629","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/7d575c9d53c8ba325470b34075afde50.jpg","text":"TemporaryFile(/tmp/multipartBody8547797176889130086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752128767807,"filename":"image_10072025_08_21_01_5674.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371482629"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371482629"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.964898824691772 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:26:04.964728
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:27:03.773439
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:28:04.318498
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/25/image_10072025_08_25_02_1647.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/25/image_10072025_08_25_02_1647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/25/image_10072025_08_25_02_1647.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371482698"],"photo_id":"1371482698","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/ccf289b9527bff0a41d02e3320f99e14.jpg","text":"TemporaryFile(/tmp/multipartBody8703591525927271449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752128945383,"filename":"image_10072025_08_25_02_1647.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371482698"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371482698"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.487193584442139 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:29:04.449254
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/28/image_10072025_08_28_01_9308.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/28/image_10072025_08_28_01_9308.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/28/image_10072025_08_28_01_9308.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371482721"],"photo_id":"1371482721","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/e6c36377d2f548ad6efbd1d83399ebfb.jpg","text":"TemporaryFile(/tmp/multipartBody3911830805360207372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752129005763,"filename":"image_10072025_08_28_01_9308.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371482721"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371482721"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.026593446731567 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:30:04.175958
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/29/image_10072025_08_29_02_0012.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/29/image_10072025_08_29_02_0012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/29/image_10072025_08_29_02_0012.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371482743"],"photo_id":"1371482743","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/a672a792b73d88acbb5b2d7abeae65bb.jpg","text":"TemporaryFile(/tmp/multipartBody5197192771092405272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752129065222,"filename":"image_10072025_08_29_02_0012.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371482743"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371482743"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.387413501739502 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:31:03.970697
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/30/image_10072025_08_30_01_9217.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/30/image_10072025_08_30_01_9217.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/30/image_10072025_08_30_01_9217.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371482776"],"photo_id":"1371482776","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/75560fff65b19707c04809b96483645b.jpg","text":"TemporaryFile(/tmp/multipartBody1676559147232650059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752129125054,"filename":"image_10072025_08_30_01_9217.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371482776"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371482776"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.566243171691895 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:32:04.044342
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:33:03.696037
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:34:03.671875
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:35:04.004722
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:36:03.262899
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:37:04.239866
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:38:03.603724
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/31/image_10072025_08_31_01_9757.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/31/image_10072025_08_31_01_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/31/image_10072025_08_31_01_9757.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371482930"],"photo_id":"1371482930","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/a13b0fbfa646a1f6f1a83e470f18c119.jpg","text":"TemporaryFile(/tmp/multipartBody8415277010237810093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752129544607,"filename":"image_10072025_08_31_01_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371482930"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371482930"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.143626689910889 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:39:04.707814
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/38/image_10072025_08_38_02_1327.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/38/image_10072025_08_38_02_1327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/38/image_10072025_08_38_02_1327.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371482946"],"photo_id":"1371482946","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/1ba30d2dfb49e652d54b89d659e56df1.jpg","text":"TemporaryFile(/tmp/multipartBody7650721606283178479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752129605867,"filename":"image_10072025_08_38_02_1327.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371482946"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371482946"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.552987337112427 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:40:03.828262
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/39/image_10072025_08_39_02_0814.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/39/image_10072025_08_39_02_0814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/39/image_10072025_08_39_02_0814.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371482976"],"photo_id":"1371482976","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/458d5df9ed1b3b460ade99eafdef5b9a.jpg","text":"TemporaryFile(/tmp/multipartBody4257191725742868557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752129664911,"filename":"image_10072025_08_39_02_0814.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371482976"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371482976"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.762358665466309 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:41:04.510477
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/40/image_10072025_08_40_02_0823.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/40/image_10072025_08_40_02_0823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/40/image_10072025_08_40_02_0823.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371483005"],"photo_id":"1371483005","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/ba25c84ec2bbaed6e7e24e0b4545abd0.jpg","text":"TemporaryFile(/tmp/multipartBody1609066297902246893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752129725539,"filename":"image_10072025_08_40_02_0823.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371483005"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371483005"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.987562656402588 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:42:04.047257
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:43:04.120205
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/41/image_10072025_08_41_01_8681.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/41/image_10072025_08_41_01_8681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/41/image_10072025_08_41_01_8681.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371483043"],"photo_id":"1371483043","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/a6e3f0f6929341436739354a88c8c369.jpg","text":"TemporaryFile(/tmp/multipartBody7252811743186306907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752129845411,"filename":"image_10072025_08_41_01_8681.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371483043"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371483043"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.935737609863281 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:44:04.874518
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/43/image_10072025_08_43_02_2254.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/43/image_10072025_08_43_02_2254.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/43/image_10072025_08_43_02_2254.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371483069"],"photo_id":"1371483069","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/f328198f0b9c43499801b3fdda560f42.jpg","text":"TemporaryFile(/tmp/multipartBody5279691508335771407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752129906073,"filename":"image_10072025_08_43_02_2254.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371483069"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371483069"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.513051986694336 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:45:04.673305
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/44/image_10072025_08_44_02_0789.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/44/image_10072025_08_44_02_0789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/44/image_10072025_08_44_02_0789.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371483083"],"photo_id":"1371483083","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/55e1dbb3cceb899bac0d0a55213b4f89.jpg","text":"TemporaryFile(/tmp/multipartBody420186426737519765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752129966155,"filename":"image_10072025_08_44_02_0789.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371483083"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371483083"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.906141519546509 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:46:03.594641
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/45/image_10072025_08_45_01_6812.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/45/image_10072025_08_45_01_6812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/45/image_10072025_08_45_01_6812.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.9385828971862793 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 -f /home/pi/Desktop/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 08:47:04.192017
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/46/image_10072025_08_46_01_6649.jpg', 2), ('/home/pi/Desktop/images/10072025/08/45/image_10072025_08_45_01_6812.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/46/image_10072025_08_46_01_6649.jpg', '/home/pi/Desktop/images/10072025/08/45/image_10072025_08_45_01_6812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/46/image_10072025_08_46_01_6649.jpg
/home/pi/Desktop/images/10072025/08/45/image_10072025_08_45_01_6812.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371483134","1371483137"],"photo_ids_order":["1371483134","1371483137"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/4fba98e308dbdb28c0f3488adccf185f.jpg","text":"TemporaryFile(/tmp/multipartBody6898404195970774695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752130085666,"filename":"image_10072025_08_46_01_6649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/80a2da4ee56abaff17ec183fdfdca77a.jpg","text":"TemporaryFile(/tmp/multipartBody4639571122963907880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752130085666,"filename":"image_10072025_08_45_01_6812.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371483137","file0":"1371483134"},"map_files_photo_id_array":[{"photo_id":"1371483137","filename":"file1"},{"photo_id":"1371483134","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371483134":["hashtag1","hashtag2"]},{"1371483137":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371483134, 1371483137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.27474069595337 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:48:05.876148
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/47/image_10072025_08_47_01_4979.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/47/image_10072025_08_47_01_4979.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/47/image_10072025_08_47_01_4979.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.1798858642578125 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 -f /home/pi/Desktop/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 08:49:04.389562
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/47/image_10072025_08_47_01_4979.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/47/image_10072025_08_47_01_4979.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/47/image_10072025_08_47_01_4979.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371483162"],"photo_id":"1371483162","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/5d58a9957b484a3b3edf89ff587210b4.jpg","text":"TemporaryFile(/tmp/multipartBody2860910367187858625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752130205880,"filename":"image_10072025_08_47_01_4979.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371483162"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371483162"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.200473308563232 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:50:05.351608
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:51:04.055902
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:52:03.738195
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/48/image_10072025_08_48_01_5188.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/48/image_10072025_08_48_01_5188.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/48/image_10072025_08_48_01_5188.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371483259"],"photo_id":"1371483259","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/8b787d1d13cd958b2319287aca605459.jpg","text":"TemporaryFile(/tmp/multipartBody8589240399334202353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752130384707,"filename":"image_10072025_08_48_01_5188.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371483259"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371483259"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.05956220626831 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:53:04.152125
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/52/image_10072025_08_52_01_9579.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/52/image_10072025_08_52_01_9579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/52/image_10072025_08_52_01_9579.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371483276"],"photo_id":"1371483276","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/45f9f194417d52a051e6b74be8362b52.jpg","text":"TemporaryFile(/tmp/multipartBody2588174543251817695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752130445244,"filename":"image_10072025_08_52_01_9579.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371483276"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371483276"}],"hashtags":[],"portfolio_id":"24773944","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.900273323059082 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:54:04.338560
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/53/image_10072025_08_53_01_6949.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/53/image_10072025_08_53_01_6949.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/53/image_10072025_08_53_01_6949.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.2152068614959717 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 -f /home/pi/Desktop/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 08:55:03.157770
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/54/image_10072025_08_54_02_0411.jpg', 2), ('/home/pi/Desktop/images/10072025/08/53/image_10072025_08_53_01_6949.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/54/image_10072025_08_54_02_0411.jpg', '/home/pi/Desktop/images/10072025/08/53/image_10072025_08_53_01_6949.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/54/image_10072025_08_54_02_0411.jpg
/home/pi/Desktop/images/10072025/08/53/image_10072025_08_53_01_6949.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371483322","1371483325"],"photo_ids_order":["1371483322","1371483325"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/983f3ddb6ec5b3199e25df13515a3685.jpg","text":"TemporaryFile(/tmp/multipartBody8784773512124591969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752130564633,"filename":"image_10072025_08_54_02_0411.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/10/af77dcecff22a03924abe0c0a388432c.jpg","text":"TemporaryFile(/tmp/multipartBody134831484661359203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752130564633,"filename":"image_10072025_08_53_01_6949.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371483325","file0":"1371483322"},"map_files_photo_id_array":[{"photo_id":"1371483325","filename":"file1"},{"photo_id":"1371483322","filename":"file0"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371483322":["hashtag1","hashtag2"]},{"1371483325":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371483322, 1371483325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.249825477600098 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -f /home/pi/Desktop/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 08:56:04.906006
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/55/image_10072025_08_55_01_4506.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/55/image_10072025_08_55_01_4506.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/55/image_10072025_08_55_01_4506.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.176666498184204 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 rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 08:57:04.254898
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/56/image_10072025_08_56_01_2972.jpg', 2), ('/home/pi/Desktop/images/10072025/08/55/image_10072025_08_55_01_4506.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/56/image_10072025_08_56_01_2972.jpg', '/home/pi/Desktop/images/10072025/08/55/image_10072025_08_55_01_4506.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/56/image_10072025_08_56_01_2972.jpg
/home/pi/Desktop/images/10072025/08/55/image_10072025_08_55_01_4506.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483390, "file1": 1371483391}}'
Result OK !
uploaded 2 photos
time to upload: 7.081957817077637 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 08:59:03.931437
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/58/image_10072025_08_58_01_8388.jpg', 2), ('/home/pi/Desktop/images/10072025/08/57/image_10072025_08_57_01_5426.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/58/image_10072025_08_58_01_8388.jpg', '/home/pi/Desktop/images/10072025/08/57/image_10072025_08_57_01_5426.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/58/image_10072025_08_58_01_8388.jpg
/home/pi/Desktop/images/10072025/08/57/image_10072025_08_57_01_5426.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483411, "file1": 1371483412}}'
Result OK !
uploaded 2 photos
time to upload: 6.6258604526519775 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:00:04.936740
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/08/59/image_10072025_08_59_01_8575.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/08/59/image_10072025_08_59_01_8575.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/08/59/image_10072025_08_59_01_8575.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483448}}'
Result OK !
uploaded 1 photos
time to upload: 5.005573034286499 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:01:03.693133
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/00/image_10072025_09_00_01_2484.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/00/image_10072025_09_00_01_2484.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/00/image_10072025_09_00_01_2484.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483473}}'
Result OK !
uploaded 1 photos
time to upload: 4.979573965072632 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:02:04.572714
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/01/image_10072025_09_01_01_9467.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/01/image_10072025_09_01_01_9467.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/01/image_10072025_09_01_01_9467.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483487}}'
Result OK !
uploaded 1 photos
time to upload: 4.886401176452637 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:03:04.087163
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/02/image_10072025_09_02_01_6914.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/02/image_10072025_09_02_01_6914.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/02/image_10072025_09_02_01_6914.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483495}}'
Result OK !
uploaded 1 photos
time to upload: 4.914567232131958 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:04:05.414360
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/03/image_10072025_09_03_01_3369.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/03/image_10072025_09_03_01_3369.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/03/image_10072025_09_03_01_3369.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483515}}'
Result OK !
uploaded 1 photos
time to upload: 4.924808025360107 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:05:03.838270
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/04/image_10072025_09_04_02_1040.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/04/image_10072025_09_04_02_1040.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/04/image_10072025_09_04_02_1040.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483528}}'
Result OK !
uploaded 1 photos
time to upload: 4.587711811065674 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:06:04.877043
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/05/image_10072025_09_05_01_9740.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/05/image_10072025_09_05_01_9740.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/05/image_10072025_09_05_01_9740.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483537}}'
Result OK !
uploaded 1 photos
time to upload: 4.754068613052368 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:07:03.758087
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/06/image_10072025_09_06_01_7138.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/06/image_10072025_09_06_01_7138.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/06/image_10072025_09_06_01_7138.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483545}}'
Result OK !
uploaded 1 photos
time to upload: 5.027458429336548 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:08:04.384007
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/07/image_10072025_09_07_02_2116.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/07/image_10072025_09_07_02_2116.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/07/image_10072025_09_07_02_2116.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483554}}'
Result OK !
uploaded 1 photos
time to upload: 4.5536417961120605 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:09:04.068019
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 2 files
1 photos no longer on disk
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/10/image_10072025_09_10_02_1152.jpg', 2), ('/home/pi/Desktop/images/10072025/09/08/image_10072025_09_08_01_8592.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/08/image_10072025_09_08_01_8592.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/08/image_10072025_09_08_01_8592.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483562}}'
Result OK !
uploaded 1 photos
time to upload: 5.4233503341674805 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/10072025/09/10/image_10072025_09_10_02_1152.jpg'],)
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:10:03.492688
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:11:03.573756
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/09/image_10072025_09_09_01_8235.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/09/image_10072025_09_09_01_8235.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/09/image_10072025_09_09_01_8235.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483578}}'
Result OK !
uploaded 1 photos
time to upload: 4.936311960220337 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:12:03.772639
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/11/image_10072025_09_11_01_9740.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/11/image_10072025_09_11_01_9740.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/11/image_10072025_09_11_01_9740.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483587}}'
Result OK !
uploaded 1 photos
time to upload: 4.698066234588623 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:13:03.647950
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/12/image_10072025_09_12_01_5630.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/12/image_10072025_09_12_01_5630.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/12/image_10072025_09_12_01_5630.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483595}}'
Result OK !
uploaded 1 photos
time to upload: 5.0308661460876465 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:14:04.600569
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/13/image_10072025_09_13_02_1841.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/13/image_10072025_09_13_02_1841.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/13/image_10072025_09_13_02_1841.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483604}}'
Result OK !
uploaded 1 photos
time to upload: 4.593313694000244 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:15:03.574061
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/14/image_10072025_09_14_01_8807.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/14/image_10072025_09_14_01_8807.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/14/image_10072025_09_14_01_8807.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483612}}'
Result OK !
uploaded 1 photos
time to upload: 4.611192226409912 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:16:04.772470
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:17:03.458102
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/15/image_10072025_09_15_01_3713.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/15/image_10072025_09_15_01_3713.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/15/image_10072025_09_15_01_3713.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483627}}'
Result OK !
uploaded 1 photos
time to upload: 4.812105655670166 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:18:04.958968
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/17/image_10072025_09_17_01_4943.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/17/image_10072025_09_17_01_4943.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/17/image_10072025_09_17_01_4943.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483636}}'
Result OK !
uploaded 1 photos
time to upload: 4.83958625793457 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:19:03.500023
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/18/image_10072025_09_18_01_4729.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/18/image_10072025_09_18_01_4729.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/18/image_10072025_09_18_01_4729.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483644}}'
Result OK !
uploaded 1 photos
time to upload: 5.082472324371338 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:20:05.051545
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/19/image_10072025_09_19_01_6179.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/19/image_10072025_09_19_01_6179.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/19/image_10072025_09_19_01_6179.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483653}}'
Result OK !
uploaded 1 photos
time to upload: 4.653360605239868 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:21:03.559723
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/20/image_10072025_09_20_01_6778.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/20/image_10072025_09_20_01_6778.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/20/image_10072025_09_20_01_6778.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483660}}'
Result OK !
uploaded 1 photos
time to upload: 5.022611379623413 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:22:04.655406
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:23:03.344725
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/21/image_10072025_09_21_01_9885.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/21/image_10072025_09_21_01_9885.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/21/image_10072025_09_21_01_9885.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483676}}'
Result OK !
uploaded 1 photos
time to upload: 5.012322187423706 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:24:05.038327
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/23/image_10072025_09_23_01_8423.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/23/image_10072025_09_23_01_8423.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/23/image_10072025_09_23_01_8423.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483685}}'
Result OK !
uploaded 1 photos
time to upload: 4.667449951171875 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:25:06.745306
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:26:05.328519
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:27:03.986694
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:28:04.943471
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/24/image_10072025_09_24_01_5034.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/24/image_10072025_09_24_01_5034.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/24/image_10072025_09_24_01_5034.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483715}}'
Result OK !
uploaded 1 photos
time to upload: 4.832587003707886 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:29:04.051610
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/28/image_10072025_09_28_01_9935.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/28/image_10072025_09_28_01_9935.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/28/image_10072025_09_28_01_9935.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483722}}'
Result OK !
uploaded 1 photos
time to upload: 4.881423234939575 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:30:05.042261
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/29/image_10072025_09_29_01_4275.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/29/image_10072025_09_29_01_4275.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/29/image_10072025_09_29_01_4275.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483730}}'
Result OK !
uploaded 1 photos
time to upload: 8.728548765182495 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:31:04.620226
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/30/image_10072025_09_30_02_1679.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/30/image_10072025_09_30_02_1679.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/30/image_10072025_09_30_02_1679.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483740}}'
Result OK !
uploaded 1 photos
time to upload: 5.182945251464844 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:32:04.294173
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/31/image_10072025_09_31_01_5724.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/31/image_10072025_09_31_01_5724.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/31/image_10072025_09_31_01_5724.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483748}}'
Result OK !
uploaded 1 photos
time to upload: 4.504694938659668 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:33:03.968182
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/32/image_10072025_09_32_02_0064.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/32/image_10072025_09_32_02_0064.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/32/image_10072025_09_32_02_0064.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483756}}'
Result OK !
uploaded 1 photos
time to upload: 4.878748416900635 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:34:05.200150
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/33/image_10072025_09_33_02_0429.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/33/image_10072025_09_33_02_0429.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/33/image_10072025_09_33_02_0429.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483765}}'
Result OK !
uploaded 1 photos
time to upload: 4.953933477401733 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:35:04.169716
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/34/image_10072025_09_34_02_1057.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/34/image_10072025_09_34_02_1057.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/34/image_10072025_09_34_02_1057.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483773}}'
Result OK !
uploaded 1 photos
time to upload: 4.824418306350708 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:36:04.752380
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
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 any photos to upload
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;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 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;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:37:04.202632
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/35/image_10072025_09_35_01_7194.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/35/image_10072025_09_35_01_7194.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/35/image_10072025_09_35_01_7194.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483789}}'
Result OK !
uploaded 1 photos
time to upload: 4.799390077590942 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:38:04.587652
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/37/image_10072025_09_37_01_5885.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/37/image_10072025_09_37_01_5885.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/37/image_10072025_09_37_01_5885.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483798}}'
Result OK !
uploaded 1 photos
time to upload: 4.437901973724365 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:39:03.989372
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/38/image_10072025_09_38_02_2434.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/38/image_10072025_09_38_02_2434.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/38/image_10072025_09_38_02_2434.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483806}}'
Result OK !
uploaded 1 photos
time to upload: 5.089353322982788 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:40:04.261629
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/39/image_10072025_09_39_01_4826.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/39/image_10072025_09_39_01_4826.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/39/image_10072025_09_39_01_4826.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483815}}'
Result OK !
uploaded 1 photos
time to upload: 4.490504503250122 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:41:03.938126
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/40/image_10072025_09_40_02_1603.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/40/image_10072025_09_40_02_1603.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/40/image_10072025_09_40_02_1603.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483823}}'
Result OK !
uploaded 1 photos
time to upload: 4.693089485168457 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:42:04.885629
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/41/image_10072025_09_41_01_7805.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/41/image_10072025_09_41_01_7805.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/41/image_10072025_09_41_01_7805.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483835}}'
Result OK !
uploaded 1 photos
time to upload: 4.895286798477173 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:43:03.492313
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/42/image_10072025_09_42_01_9409.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/42/image_10072025_09_42_01_9409.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/42/image_10072025_09_42_01_9409.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483843}}'
Result OK !
uploaded 1 photos
time to upload: 4.878225564956665 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:44:05.126972
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/43/image_10072025_09_43_01_5169.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/43/image_10072025_09_43_01_5169.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/43/image_10072025_09_43_01_5169.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483853}}'
Result OK !
uploaded 1 photos
time to upload: 4.629049062728882 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:45:03.750319
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/44/image_10072025_09_44_01_4325.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/44/image_10072025_09_44_01_4325.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/44/image_10072025_09_44_01_4325.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483860}}'
Result OK !
uploaded 1 photos
time to upload: 4.797476530075073 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:46:05.130265
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/45/image_10072025_09_45_01_9840.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/45/image_10072025_09_45_01_9840.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/45/image_10072025_09_45_01_9840.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483869}}'
Result OK !
uploaded 1 photos
time to upload: 4.641303777694702 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u rene.fotonower-preprod.com:5005 -P http -f /home/pi/Desktop/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 09:47:03.468444
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/46/image_10072025_09_46_01_7165.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/46/image_10072025_09_46_01_7165.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/46/image_10072025_09_46_01_7165.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"map_files_photo_id": {"file0": 1371483877}}'
Result OK !
uploaded 1 photos
time to upload: 4.473620653152466 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 09:48:04.875944
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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/47/image_10072025_09_47_01_8377.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/47/image_10072025_09_47_01_8377.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.959104061126709 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 09:49:03.926681
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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/48/image_10072025_09_48_01_4944.jpg', '/home/pi/Desktop/images/10072025/09/47/image_10072025_09_47_01_8377.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
uploaded 0 photos
time to upload: 1.889831781387329 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 09:50:03.730436
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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/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://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
uploaded 0 photos
time to upload: 1.4183692932128906 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 09:51:04.156477
  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 = 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://uploadpy.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
uploaded 0 photos
time to upload: 2.1948208808898926 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 09:52:04.657665
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/51/image_10072025_09_51_02_1085.jpg', 2), ('/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/51/image_10072025_09_51_02_1085.jpg', '/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://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/51/image_10072025_09_51_02_1085.jpg
/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
uploaded 0 photos
time to upload: 2.208620071411133 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 09:53:03.962271
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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/52/image_10072025_09_52_01_8321.jpg', '/home/pi/Desktop/images/10072025/09/51/image_10072025_09_51_02_1085.jpg', '/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://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
uploaded 0 photos
time to upload: 4.137670993804932 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 09:54:04.152461
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.410569190979004 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 09:55:05.519811
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.036933422088623 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 09:56:04.730792
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/09/50/image_10072025_09_50_01_6704.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/09/50/image_10072025_09_50_01_6704.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/09/50/image_10072025_09_50_01_6704.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7095930576324463 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 09:57:03.783219
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8008134365081787 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 09:59:04.342653
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/10/00/image_10072025_10_00_01_8085.jpg', 2), ('/home/pi/Desktop/images/10072025/09/57/image_10072025_09_57_02_1553.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/57/image_10072025_09_57_02_1553.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/57/image_10072025_09_57_02_1553.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.797997236251831 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/10072025/10/00/image_10072025_10_00_01_8085.jpg'],)
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:00:03.586042
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/57/image_10072025_09_57_02_1553.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/57/image_10072025_09_57_02_1553.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/57/image_10072025_09_57_02_1553.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6996994018554688 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:01:05.424316
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.196250677108765 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:02:03.444838
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.5270144939422607 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:03:03.634242
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6303107738494873 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:04:04.388919
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/09/56/image_10072025_09_56_01_9263.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/09/56/image_10072025_09_56_01_9263.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/09/56/image_10072025_09_56_01_9263.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0246963500976562 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:05:04.234136
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.422180652618408 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:06:04.385209
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/10/05/image_10072025_10_05_02_0183.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/10/05/image_10072025_10_05_02_0183.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/10/05/image_10072025_10_05_02_0183.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.786013126373291 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:07:03.620754
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8422276973724365 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:08:05.404839
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7658863067626953 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:09:03.803458
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9811551570892334 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:10:04.597302
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/10/04/image_10072025_10_04_01_2289.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/10/04/image_10072025_10_04_01_2289.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/10/04/image_10072025_10_04_01_2289.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.5717456340789795 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:11:03.947304
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.824702262878418 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:12:04.038454
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/10/11/image_10072025_10_11_02_1300.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/10/11/image_10072025_10_11_02_1300.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/10/11/image_10072025_10_11_02_1300.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8724658489227295 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:13:03.912792
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2106916904449463 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:14:03.672740
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.977407455444336 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:15:03.639889
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.819060802459717 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:16:03.440984
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/10/10/image_10072025_10_10_01_8898.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/10/10/image_10072025_10_10_01_8898.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/10/10/image_10072025_10_10_01_8898.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.3395087718963623 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:17:03.659403
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8659327030181885 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:18:04.789050
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/10/17/image_10072025_10_17_01_3713.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/10/17/image_10072025_10_17_01_3713.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/10/17/image_10072025_10_17_01_3713.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.638917922973633 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:19:04.100993
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.307621240615845 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:20:03.246020
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5411863327026367 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:21:03.980101
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.04729962348938 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:22:03.710542
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5157315731048584 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:23:05.519950
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/10/16/image_10072025_10_16_01_7256.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/10/16/image_10072025_10_16_01_7256.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/10/16/image_10072025_10_16_01_7256.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.743546485900879 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:24:03.684332
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/10/16/image_10072025_10_16_01_7256.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/10/16/image_10072025_10_16_01_7256.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/10/16/image_10072025_10_16_01_7256.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5055556297302246 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:25:06.215896
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.395852565765381 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:26:04.404267
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/10/25/image_10072025_10_25_02_0040.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/10/25/image_10072025_10_25_02_0040.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/10/25/image_10072025_10_25_02_0040.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.6669704914093018 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:27:03.952563
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/10/25/image_10072025_10_25_02_0040.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/10/25/image_10072025_10_25_02_0040.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/10/25/image_10072025_10_25_02_0040.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9523720741271973 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:28:05.239419
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7103724479675293 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:29:03.679301
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.5984034538269043 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:30:03.398076
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.833970546722412 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:31:05.653097
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/10/23/image_10072025_10_23_02_2284.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/10/23/image_10072025_10_23_02_2284.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/10/23/image_10072025_10_23_02_2284.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.385740518569946 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:32:05.838160
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.063516616821289 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:33:04.265054
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/10/32/image_10072025_10_32_02_0288.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/10/32/image_10072025_10_32_02_0288.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/10/32/image_10072025_10_32_02_0288.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.1590099334716797 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:34:05.162550
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.807030439376831 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:35:04.692970
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.6091830730438232 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:36:05.797591
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.7770862579345703 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:37:04.143145
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/10/31/image_10072025_10_31_01_3948.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/10/31/image_10072025_10_31_01_3948.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/10/31/image_10072025_10_31_01_3948.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.6810057163238525 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:38:04.945626
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.861419200897217 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:39:03.875854
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/10/38/image_10072025_10_38_01_5685.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/10/38/image_10072025_10_38_01_5685.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/10/38/image_10072025_10_38_01_5685.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.171749114990234 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:40:04.933787
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.793532133102417 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:41:04.377763
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.9688615798950195 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:42:05.192997
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.612837314605713 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:43:05.470044
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/10/37/image_10072025_10_37_02_1872.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/10/37/image_10072025_10_37_02_1872.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/10/37/image_10072025_10_37_02_1872.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.194048643112183 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:44:03.963778
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.6135950088500977 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:45:04.908840
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/10/44/image_10072025_10_44_01_8795.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/10/44/image_10072025_10_44_01_8795.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/10/44/image_10072025_10_44_01_8795.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.11685848236084 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:46:05.816712
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.7115581035614014 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:47:03.730250
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.800504446029663 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:48:03.734489
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7530670166015625 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:49:03.559818
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/10/50/image_10072025_10_50_01_5150.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), ('/home/pi/Desktop/images/10072025/10/43/image_10072025_10_43_01_8222.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/10/43/image_10072025_10_43_01_8222.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/10/43/image_10072025_10_43_01_8222.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.4867563247680664 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/10072025/10/50/image_10072025_10_50_01_5150.jpg'],)
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:50:03.101146
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7195427417755127 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:51:04.311166
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/10/43/image_10072025_10_43_01_8222.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/10/43/image_10072025_10_43_01_8222.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/10/43/image_10072025_10_43_01_8222.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6840453147888184 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:52:03.440437
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9000794887542725 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:53:04.404778
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.6969985961914062 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:54:04.297834
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/10/52/image_10072025_10_52_02_0929.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/10/52/image_10072025_10_52_02_0929.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/10/52/image_10072025_10_52_02_0929.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7737600803375244 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:55:03.893655
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.921417713165283 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:56:04.346827
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.902448892593384 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:57:04.204113
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.3645193576812744 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 10:59:04.010178
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.164127349853516 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:00:03.618778
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/10/59/image_10072025_10_59_02_2624.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/10/59/image_10072025_10_59_02_2624.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/10/59/image_10072025_10_59_02_2624.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.3041634559631348 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:01:04.438158
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9471256732940674 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:02:04.375545
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.5951766967773438 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:03:03.912678
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.4782352447509766 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:04:04.327710
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/10/58/image_10072025_10_58_01_8708.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/10/58/image_10072025_10_58_01_8708.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/10/58/image_10072025_10_58_01_8708.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8694424629211426 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:05:03.560982
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.033992290496826 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:06:03.196866
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/11/05/image_10072025_11_05_01_8010.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/11/05/image_10072025_11_05_01_8010.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/11/05/image_10072025_11_05_01_8010.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.4165821075439453 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:07:03.962515
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.960322856903076 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:08:03.471966
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.018721103668213 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:09:03.396411
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.4672107696533203 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:10:04.082365
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/11/04/image_10072025_11_04_01_2886.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/11/04/image_10072025_11_04_01_2886.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/11/04/image_10072025_11_04_01_2886.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9460160732269287 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:11:03.272293
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0601091384887695 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:12:03.629661
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0013961791992188 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:13:03.904965
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/11/11/image_10072025_11_11_02_2303.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/11/11/image_10072025_11_11_02_2303.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/11/11/image_10072025_11_11_02_2303.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0673813819885254 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:14:04.331265
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.1530039310455322 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:15:03.764922
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.879789113998413 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:16:04.307265
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.702329397201538 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:17:04.024862
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2898292541503906 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:18:03.915142
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/11/10/image_10072025_11_10_01_6008.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/11/10/image_10072025_11_10_01_6008.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/11/10/image_10072025_11_10_01_6008.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.1788840293884277 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:19:03.706424
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.233988046646118 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:20:02.918649
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/11/19/image_10072025_11_19_01_9518.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/11/19/image_10072025_11_19_01_9518.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/11/19/image_10072025_11_19_01_9518.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.912693500518799 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:21:04.247931
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.30045747756958 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:22:02.796414
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4930408000946045 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:23:05.814117
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.8280625343322754 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:24:05.167390
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0508270263671875 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:25:06.253611
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/11/18/image_10072025_11_18_02_1047.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/11/18/image_10072025_11_18_02_1047.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/11/18/image_10072025_11_18_02_1047.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 5.709205865859985 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:26:04.266147
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.8499221801757812 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:27:05.234233
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/11/26/image_10072025_11_26_01_4640.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/11/26/image_10072025_11_26_01_4640.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/11/26/image_10072025_11_26_01_4640.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.584056377410889 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:28:03.648717
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.6212849617004395 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:29:04.457844
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.778493881225586 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:30:05.388666
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.957165241241455 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:31:03.839689
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/11/25/image_10072025_11_25_01_6763.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/11/25/image_10072025_11_25_01_6763.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/11/25/image_10072025_11_25_01_6763.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.7006466388702393 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:32:04.949005
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.833296298980713 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:33:04.330978
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/11/32/image_10072025_11_32_01_3623.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/11/32/image_10072025_11_32_01_3623.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/11/32/image_10072025_11_32_01_3623.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.92777681350708 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:34:04.848904
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/11/32/image_10072025_11_32_01_3623.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/11/32/image_10072025_11_32_01_3623.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/11/32/image_10072025_11_32_01_3623.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.989492416381836 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:35:04.684575
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.294060468673706 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:36:04.975686
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.9026756286621094 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:37:04.208959
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.7627410888671875 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:38:05.451560
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/11/31/image_10072025_11_31_01_9139.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/11/31/image_10072025_11_31_01_9139.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/11/31/image_10072025_11_31_01_9139.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.9106435775756836 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:39:04.073404
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/11/40/image_10072025_11_40_01_6899.jpg', 2), ('/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)]
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'] : url : https://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.687941074371338 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/10072025/11/40/image_10072025_11_40_01_6899.jpg'],)
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:40:03.607430
  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 = 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://uploadpy.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
uploaded 0 photos
time to upload: 2.825937509536743 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:41:05.630391
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/11/39/image_10072025_11_39_01_8261.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/11/39/image_10072025_11_39_01_8261.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/11/39/image_10072025_11_39_01_8261.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.502597332000732 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:42:04.889246
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/11/39/image_10072025_11_39_01_8261.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/11/39/image_10072025_11_39_01_8261.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/11/39/image_10072025_11_39_01_8261.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7967593669891357 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:43:04.634761
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/11/39/image_10072025_11_39_01_8261.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/11/39/image_10072025_11_39_01_8261.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/11/39/image_10072025_11_39_01_8261.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8157317638397217 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:44:03.497218
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.679100513458252 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:45:03.838919
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.289717197418213 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:46:03.000040
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6702661514282227 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:47:03.943357
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8879599571228027 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:48:03.936885
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.971102714538574 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:49:04.519910
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.8982317447662354 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:50:03.950511
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7366158962249756 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:51:04.301555
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0505924224853516 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:52:03.963408
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.7038910388946533 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:53:04.191336
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6864147186279297 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:54:03.866326
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8460052013397217 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:55:03.957427
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.053876638412476 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:56:04.346665
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0394670963287354 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:57:03.725594
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/11/38/image_10072025_11_38_01_6522.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/11/38/image_10072025_11_38_01_6522.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/11/38/image_10072025_11_38_01_6522.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.850022315979004 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 11:59:04.005563
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/11/38/image_10072025_11_38_01_6522.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/11/38/image_10072025_11_38_01_6522.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/11/38/image_10072025_11_38_01_6522.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.334870338439941 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:00:04.095270
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/11/38/image_10072025_11_38_01_6522.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/11/38/image_10072025_11_38_01_6522.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/11/38/image_10072025_11_38_01_6522.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.720501899719238 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:01:03.522752
  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 = 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://uploadpy.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
uploaded 0 photos
time to upload: 2.6922080516815186 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:02:04.061141
  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 = 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://uploadpy.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
uploaded 0 photos
time to upload: 4.39670991897583 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:03:04.175245
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/12/01/image_10072025_12_01_02_1559.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/12/01/image_10072025_12_01_02_1559.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/12/01/image_10072025_12_01_02_1559.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9079012870788574 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:04:02.959797
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/12/01/image_10072025_12_01_02_1559.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/12/01/image_10072025_12_01_02_1559.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/12/01/image_10072025_12_01_02_1559.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6827151775360107 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:05:03.832196
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.8823957443237305 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:06:03.387690
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.645148992538452 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:07:04.915450
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9044229984283447 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:08:03.536525
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.553795099258423 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:09:05.517848
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.063907623291016 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:10:04.029992
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.26835560798645 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:11:03.886594
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/11/57/image_10072025_11_57_01_8711.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/11/57/image_10072025_11_57_01_8711.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/11/57/image_10072025_11_57_01_8711.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2566416263580322 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:12:03.886935
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/11/57/image_10072025_11_57_01_8711.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/11/57/image_10072025_11_57_01_8711.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/11/57/image_10072025_11_57_01_8711.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.545360803604126 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:13:04.554441
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/11/57/image_10072025_11_57_01_8711.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/11/57/image_10072025_11_57_01_8711.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/11/57/image_10072025_11_57_01_8711.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.4227664470672607 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:14:04.233839
  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 = 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://uploadpy.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: 2.8875863552093506 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:15:04.841128
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/12/14/image_10072025_12_14_02_2904.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/12/14/image_10072025_12_14_02_2904.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/12/14/image_10072025_12_14_02_2904.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7618308067321777 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:16:03.664803
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9079835414886475 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:17:03.459723
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.1366453170776367 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:18:03.404435
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.523280620574951 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:19:04.968917
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.640685796737671 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:20:04.040960
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/12/11/image_10072025_12_11_01_7586.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/12/11/image_10072025_12_11_01_7586.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/12/11/image_10072025_12_11_01_7586.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7552475929260254 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:21:03.884722
  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 = 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://uploadpy.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
uploaded 0 photos
time to upload: 3.13867449760437 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:22:03.385783
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/12/21/image_10072025_12_21_01_7069.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/12/21/image_10072025_12_21_01_7069.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/12/21/image_10072025_12_21_01_7069.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9646310806274414 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:23:03.949202
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2171471118927 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:24:03.584025
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.534727096557617 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:25:06.381812
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.401674747467041 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:26:03.953797
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.6740264892578125 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:27:04.165280
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6238927841186523 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:28:03.955854
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6004161834716797 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:29:03.580588
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.7341432571411133 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:30:03.303728
  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 = 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/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), ('/home/pi/Desktop/images/10072025/12/20/image_10072025_12_20_01_8763.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/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', '/home/pi/Desktop/images/10072025/12/20/image_10072025_12_20_01_8763.jpg'] : url : https://uploadpy.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/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
/home/pi/Desktop/images/10072025/12/20/image_10072025_12_20_01_8763.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.554115056991577 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:31:04.223301
  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 = 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/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), ('/home/pi/Desktop/images/10072025/12/20/image_10072025_12_20_01_8763.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/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', '/home/pi/Desktop/images/10072025/12/20/image_10072025_12_20_01_8763.jpg'] : url : https://uploadpy.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/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
/home/pi/Desktop/images/10072025/12/20/image_10072025_12_20_01_8763.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9266340732574463 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:32:04.685961
  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 = 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/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), ('/home/pi/Desktop/images/10072025/12/20/image_10072025_12_20_01_8763.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/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', '/home/pi/Desktop/images/10072025/12/20/image_10072025_12_20_01_8763.jpg'] : url : https://uploadpy.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/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
/home/pi/Desktop/images/10072025/12/20/image_10072025_12_20_01_8763.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5867555141448975 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:33:03.916607
  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 = 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/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), ('/home/pi/Desktop/images/10072025/12/20/image_10072025_12_20_01_8763.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/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', '/home/pi/Desktop/images/10072025/12/20/image_10072025_12_20_01_8763.jpg'] : url : https://uploadpy.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/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
/home/pi/Desktop/images/10072025/12/20/image_10072025_12_20_01_8763.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.7364718914031982 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:34:05.609388
  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 = 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/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), ('/home/pi/Desktop/images/10072025/12/20/image_10072025_12_20_01_8763.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/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', '/home/pi/Desktop/images/10072025/12/20/image_10072025_12_20_01_8763.jpg'] : url : https://uploadpy.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/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
/home/pi/Desktop/images/10072025/12/20/image_10072025_12_20_01_8763.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.889622211456299 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:35:04.494366
  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 = 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/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), ('/home/pi/Desktop/images/10072025/12/20/image_10072025_12_20_01_8763.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/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', '/home/pi/Desktop/images/10072025/12/20/image_10072025_12_20_01_8763.jpg'] : url : https://uploadpy.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/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
/home/pi/Desktop/images/10072025/12/20/image_10072025_12_20_01_8763.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.170154571533203 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:36:03.235616
  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 = 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/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), ('/home/pi/Desktop/images/10072025/12/20/image_10072025_12_20_01_8763.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/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', '/home/pi/Desktop/images/10072025/12/20/image_10072025_12_20_01_8763.jpg'] : url : https://uploadpy.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/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
/home/pi/Desktop/images/10072025/12/20/image_10072025_12_20_01_8763.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5752179622650146 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:37:05.334618
  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 = 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://uploadpy.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
uploaded 0 photos
time to upload: 4.04613184928894 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:38:05.387431
  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 = 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://uploadpy.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
uploaded 0 photos
time to upload: 2.613868474960327 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:39:04.516623
  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 = 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://uploadpy.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
uploaded 0 photos
time to upload: 2.839311361312866 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:40:03.360658
  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 = 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://uploadpy.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
uploaded 0 photos
time to upload: 3.5874953269958496 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:41:04.389899
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/12/37/image_10072025_12_37_01_6726.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/12/37/image_10072025_12_37_01_6726.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/12/37/image_10072025_12_37_01_6726.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7179386615753174 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:42:03.970785
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9038500785827637 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:43:03.513306
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.973139524459839 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:44:04.695075
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.542086601257324 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:45:03.923925
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/12/30/image_10072025_12_30_01_2493.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/12/30/image_10072025_12_30_01_2493.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/12/30/image_10072025_12_30_01_2493.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7577109336853027 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:46:03.822781
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9333908557891846 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:47:03.689636
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2291653156280518 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:48:03.238586
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/12/46/image_10072025_12_46_01_3450.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/12/46/image_10072025_12_46_01_3450.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/12/46/image_10072025_12_46_01_3450.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.523033857345581 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:49:04.018914
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.3210642337799072 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:50:05.039725
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.6900088787078857 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:51:03.705326
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2694356441497803 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:52:05.734391
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/12/45/image_10072025_12_45_01_2608.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/12/45/image_10072025_12_45_01_2608.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/12/45/image_10072025_12_45_01_2608.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.775728225708008 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:53:04.012658
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.7989425659179688 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:54:03.738742
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/12/53/image_10072025_12_53_02_2114.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/12/53/image_10072025_12_53_02_2114.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/12/53/image_10072025_12_53_02_2114.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.984452486038208 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:55:04.053449
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.163227081298828 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:56:03.335394
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.008840799331665 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:57:03.498429
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8778936862945557 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 12:59:04.536309
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.138575792312622 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:00:04.474633
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.860938310623169 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:01:04.131554
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.644132375717163 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:02:04.834788
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 5.186768054962158 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:03:04.875697
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.082712411880493 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:04:05.737924
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.899229049682617 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:05:04.163830
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.151124954223633 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:06:05.291277
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/12/52/image_10072025_12_52_01_7482.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/12/52/image_10072025_12_52_01_7482.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/12/52/image_10072025_12_52_01_7482.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.8276097774505615 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:07:04.479464
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/12/52/image_10072025_12_52_01_7482.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/12/52/image_10072025_12_52_01_7482.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/12/52/image_10072025_12_52_01_7482.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.685748338699341 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:08:03.690135
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/12/52/image_10072025_12_52_01_7482.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/12/52/image_10072025_12_52_01_7482.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/12/52/image_10072025_12_52_01_7482.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.9608287811279297 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:09:03.956634
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/12/52/image_10072025_12_52_01_7482.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/12/52/image_10072025_12_52_01_7482.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/12/52/image_10072025_12_52_01_7482.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0334322452545166 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:10:03.939989
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/12/52/image_10072025_12_52_01_7482.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/12/52/image_10072025_12_52_01_7482.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/12/52/image_10072025_12_52_01_7482.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.8407702445983887 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:11:04.282671
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/12/52/image_10072025_12_52_01_7482.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/12/52/image_10072025_12_52_01_7482.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/12/52/image_10072025_12_52_01_7482.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.4129815101623535 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:12:04.773963
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.721170425415039 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:13:04.088418
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/13/12/image_10072025_13_12_02_0483.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/13/12/image_10072025_13_12_02_0483.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/13/12/image_10072025_13_12_02_0483.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.083646535873413 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:14:03.921194
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.5039219856262207 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:15:03.478671
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.827393054962158 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:16:04.642304
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.987349033355713 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:17:03.433947
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/13/06/image_10072025_13_06_01_7971.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/13/06/image_10072025_13_06_01_7971.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/13/06/image_10072025_13_06_01_7971.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0306429862976074 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:18:02.864165
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/13/06/image_10072025_13_06_01_7971.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/13/06/image_10072025_13_06_01_7971.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/13/06/image_10072025_13_06_01_7971.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9738056659698486 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:19:04.774603
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/13/06/image_10072025_13_06_01_7971.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/13/06/image_10072025_13_06_01_7971.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/13/06/image_10072025_13_06_01_7971.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.253657817840576 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:20:02.925209
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/13/20/image_10072025_13_20_01_8636.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/20/image_10072025_13_20_01_8636.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://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/13/20/image_10072025_13_20_01_8636.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.964505434036255 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:21:04.529960
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/13/20/image_10072025_13_20_01_8636.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/13/20/image_10072025_13_20_01_8636.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/13/20/image_10072025_13_20_01_8636.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.6056156158447266 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:22:04.373534
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/13/20/image_10072025_13_20_01_8636.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/13/20/image_10072025_13_20_01_8636.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/13/20/image_10072025_13_20_01_8636.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.694201707839966 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:23:03.697020
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/13/20/image_10072025_13_20_01_8636.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/13/20/image_10072025_13_20_01_8636.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/13/20/image_10072025_13_20_01_8636.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8448870182037354 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:24:03.726513
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/13/20/image_10072025_13_20_01_8636.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/13/20/image_10072025_13_20_01_8636.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/13/20/image_10072025_13_20_01_8636.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.3891701698303223 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:25:06.656176
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.500184059143066 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:26:03.923568
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.672125816345215 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:27:04.610499
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.839923620223999 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:28:04.917603
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/13/17/image_10072025_13_17_02_0820.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/13/17/image_10072025_13_17_02_0820.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/13/17/image_10072025_13_17_02_0820.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.6893091201782227 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:29:04.700964
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.9129748344421387 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:30:05.740384
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/13/29/image_10072025_13_29_01_4320.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/13/29/image_10072025_13_29_01_4320.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/13/29/image_10072025_13_29_01_4320.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 5.343157529830933 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:31:04.718491
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 5.112020492553711 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:32:04.090439
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.568315267562866 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:33:04.321484
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4528582096099854 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:34:03.629407
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/13/28/image_10072025_13_28_02_0680.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/13/28/image_10072025_13_28_02_0680.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/13/28/image_10072025_13_28_02_0680.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.418138027191162 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:35:03.582246
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4909465312957764 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:36:04.958699
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/13/35/image_10072025_13_35_01_3567.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/13/35/image_10072025_13_35_01_3567.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/13/35/image_10072025_13_35_01_3567.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.565420150756836 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:37:03.322569
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6180052757263184 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:38:03.288832
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.791200637817383 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:39:04.648072
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9122211933135986 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:40:04.547725
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/13/34/image_10072025_13_34_01_7824.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/13/34/image_10072025_13_34_01_7824.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/13/34/image_10072025_13_34_01_7824.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6098198890686035 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:41:04.074208
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8386969566345215 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:42:04.013205
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/13/41/image_10072025_13_41_02_1942.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/13/41/image_10072025_13_41_02_1942.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/13/41/image_10072025_13_41_02_1942.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.578338146209717 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:43:03.979837
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6114842891693115 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:44:04.565344
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.779829740524292 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:45:04.615857
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.246936082839966 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:46:03.555806
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4759175777435303 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:47:04.903256
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/13/40/image_10072025_13_40_02_2625.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/13/40/image_10072025_13_40_02_2625.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/13/40/image_10072025_13_40_02_2625.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.6133975982666016 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:48:04.125703
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/13/40/image_10072025_13_40_02_2625.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/13/40/image_10072025_13_40_02_2625.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/13/40/image_10072025_13_40_02_2625.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.413315773010254 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:49:04.173404
  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 = 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://uploadpy.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: 3.451702833175659 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:50:03.337095
  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 = 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://uploadpy.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: 3.0768208503723145 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:51:04.264664
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/13/49/image_10072025_13_49_01_7896.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/13/49/image_10072025_13_49_01_7896.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/13/49/image_10072025_13_49_01_7896.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8491461277008057 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:52:03.557533
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/13/49/image_10072025_13_49_01_7896.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/13/49/image_10072025_13_49_01_7896.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/13/49/image_10072025_13_49_01_7896.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4171924591064453 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:53:03.248653
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.065612554550171 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:54:04.942666
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9709651470184326 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:55:03.994408
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.791104316711426 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:56:04.766662
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/13/47/image_10072025_13_47_02_0217.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/13/47/image_10072025_13_47_02_0217.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/13/47/image_10072025_13_47_02_0217.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0363688468933105 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:57:04.396841
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/13/47/image_10072025_13_47_02_0217.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/13/47/image_10072025_13_47_02_0217.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/13/47/image_10072025_13_47_02_0217.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.1625773906707764 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 13:59:04.341255
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/13/58/image_10072025_13_58_02_1974.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/13/58/image_10072025_13_58_02_1974.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/13/58/image_10072025_13_58_02_1974.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.941317081451416 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:00:04.336562
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.614550828933716 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:01:03.866345
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.43467116355896 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:02:03.975352
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6624293327331543 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:03:03.420191
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/13/56/image_10072025_13_56_02_0715.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/13/56/image_10072025_13_56_02_0715.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/13/56/image_10072025_13_56_02_0715.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.77740216255188 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:04:03.989981
  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 = 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://uploadpy.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
uploaded 0 photos
time to upload: 2.547713279724121 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:05:03.969791
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/14/04/image_10072025_14_04_01_3807.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/14/04/image_10072025_14_04_01_3807.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/14/04/image_10072025_14_04_01_3807.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.539538621902466 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:06:04.069579
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/14/04/image_10072025_14_04_01_3807.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/14/04/image_10072025_14_04_01_3807.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/14/04/image_10072025_14_04_01_3807.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5498805046081543 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:07:04.193038
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8466262817382812 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:08:04.821459
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.1525771617889404 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:09:03.754442
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/14/10/image_10072025_14_10_01_4197.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), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/14/10/image_10072025_14_10_01_4197.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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/14/10/image_10072025_14_10_01_4197.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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.5720438957214355 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:10:03.021118
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/14/10/image_10072025_14_10_01_4197.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), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/14/10/image_10072025_14_10_01_4197.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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/14/10/image_10072025_14_10_01_4197.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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.1101150512695312 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:11:04.445998
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.876464605331421 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:12:03.319986
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.3208117485046387 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:13:03.626996
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.971545696258545 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:14:04.452793
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.310582160949707 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:15:03.975561
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/14/03/image_10072025_14_03_02_2298.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/14/03/image_10072025_14_03_02_2298.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/14/03/image_10072025_14_03_02_2298.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.256425619125366 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:16:04.220012
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/14/03/image_10072025_14_03_02_2298.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/14/03/image_10072025_14_03_02_2298.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/14/03/image_10072025_14_03_02_2298.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.262301445007324 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:17:03.897481
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.6691253185272217 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:18:05.036999
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2574899196624756 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:19:04.154288
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.629868507385254 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:20:03.464159
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.227739095687866 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:21:03.550114
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/14/17/image_10072025_14_17_01_7119.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/14/17/image_10072025_14_17_01_7119.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/14/17/image_10072025_14_17_01_7119.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6040403842926025 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:22:03.860386
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.3850655555725098 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:23:03.913344
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0929393768310547 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:24:04.261856
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7134006023406982 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:25:05.735932
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/14/15/image_10072025_14_15_01_6071.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/14/15/image_10072025_14_15_01_6071.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/14/15/image_10072025_14_15_01_6071.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.067907094955444 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:26:04.348526
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.374114513397217 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:27:04.560645
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/14/26/image_10072025_14_26_01_7293.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/14/26/image_10072025_14_26_01_7293.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/14/26/image_10072025_14_26_01_7293.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5973048210144043 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:28:03.265459
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/14/26/image_10072025_14_26_01_7293.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/14/26/image_10072025_14_26_01_7293.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/14/26/image_10072025_14_26_01_7293.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.281679153442383 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:29:05.333954
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/14/26/image_10072025_14_26_01_7293.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/14/26/image_10072025_14_26_01_7293.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/14/26/image_10072025_14_26_01_7293.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.9605581760406494 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:30:03.280122
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/14/26/image_10072025_14_26_01_7293.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/14/26/image_10072025_14_26_01_7293.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/14/26/image_10072025_14_26_01_7293.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.3191487789154053 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:31:04.670287
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/14/26/image_10072025_14_26_01_7293.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/14/26/image_10072025_14_26_01_7293.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/14/26/image_10072025_14_26_01_7293.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0763819217681885 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:32:04.061279
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/14/26/image_10072025_14_26_01_7293.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/14/26/image_10072025_14_26_01_7293.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/14/26/image_10072025_14_26_01_7293.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.3265321254730225 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:33:03.907777
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/14/26/image_10072025_14_26_01_7293.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/14/26/image_10072025_14_26_01_7293.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/14/26/image_10072025_14_26_01_7293.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.6632542610168457 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:34:04.602394
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.3644320964813232 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:35:04.504773
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2080907821655273 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:36:04.365335
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.191342830657959 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:37:04.047757
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/14/25/image_10072025_14_25_01_8336.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/14/25/image_10072025_14_25_01_8336.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/14/25/image_10072025_14_25_01_8336.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.316636085510254 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:38:05.237510
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.364877462387085 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:39:05.468578
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/14/38/image_10072025_14_38_01_9717.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/14/38/image_10072025_14_38_01_9717.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/14/38/image_10072025_14_38_01_9717.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.26485800743103 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:40:05.776789
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.70683574676514 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:41:04.816760
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.930747509002686 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:42:05.313655
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.57169699668884 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:43:05.687068
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/14/37/image_10072025_14_37_01_5246.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/14/37/image_10072025_14_37_01_5246.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/14/37/image_10072025_14_37_01_5246.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.5101318359375 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:44:05.003864
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.398850440979004 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:45:05.531327
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/14/44/image_10072025_14_44_01_7673.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/14/44/image_10072025_14_44_01_7673.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/14/44/image_10072025_14_44_01_7673.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 35.91645336151123 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:46:04.814554
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.77638292312622 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:47:05.547255
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.30897641181946 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:48:05.710528
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.22674036026001 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:49:05.654012
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/14/43/image_10072025_14_43_01_9417.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/14/43/image_10072025_14_43_01_9417.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/14/43/image_10072025_14_43_01_9417.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.39150619506836 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:50:05.422585
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 35.688984394073486 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:51:06.249813
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/14/50/image_10072025_14_50_01_8092.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/14/50/image_10072025_14_50_01_8092.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/14/50/image_10072025_14_50_01_8092.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 36.1719434261322 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:52:05.143468
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.42511820793152 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:53:05.836629
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.85710549354553 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:54:04.676868
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.330568075180054 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:55:05.484942
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.644497871398926 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:56:05.640503
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/14/49/image_10072025_14_49_02_0084.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/14/49/image_10072025_14_49_02_0084.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/14/49/image_10072025_14_49_02_0084.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.607383012771606 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:57:05.337088
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/14/49/image_10072025_14_49_02_0084.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/14/49/image_10072025_14_49_02_0084.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/14/49/image_10072025_14_49_02_0084.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.023454904556274 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 14:59:04.333097
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/15/00/image_10072025_15_00_01_7301.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/15/00/image_10072025_15_00_01_7301.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/15/00/image_10072025_15_00_01_7301.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.2861692905426 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:00:02.949879
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/15/00/image_10072025_15_00_01_7301.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/15/00/image_10072025_15_00_01_7301.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/15/00/image_10072025_15_00_01_7301.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.786357879638672 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:01:05.663403
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.26408863067627 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:02:05.442100
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.76085066795349 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:03:05.495079
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.8172402381897 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:04:04.985338
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/14/56/image_10072025_14_56_01_7289.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/14/56/image_10072025_14_56_01_7289.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/14/56/image_10072025_14_56_01_7289.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.44668626785278 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:05:05.597350
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.11328077316284 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:06:05.738928
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.04456281661987 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:07:06.056919
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/15/05/image_10072025_15_05_01_4432.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/15/05/image_10072025_15_05_01_4432.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/15/05/image_10072025_15_05_01_4432.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.89326548576355 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:08:05.132399
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/15/05/image_10072025_15_05_01_4432.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/15/05/image_10072025_15_05_01_4432.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/15/05/image_10072025_15_05_01_4432.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.04324221611023 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:09:06.046741
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 35.29504990577698 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:10:05.476937
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.805899143218994 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:11:05.122300
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.36382794380188 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:12:05.588124
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/15/04/image_10072025_15_04_01_3477.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/15/04/image_10072025_15_04_01_3477.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/15/04/image_10072025_15_04_01_3477.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.21567988395691 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:13:05.054029
  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 = 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://uploadpy.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: 33.8910608291626 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:14:04.817733
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/15/13/image_10072025_15_13_02_1845.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/15/13/image_10072025_15_13_02_1845.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/15/13/image_10072025_15_13_02_1845.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.23893356323242 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:15:05.462636
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/15/13/image_10072025_15_13_02_1845.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/15/13/image_10072025_15_13_02_1845.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/15/13/image_10072025_15_13_02_1845.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.9411985874176 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:16:04.637407
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 35.92608666419983 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:17:05.576989
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.08925414085388 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:18:05.141760
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.75963354110718 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:19:04.774489
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/15/12/image_10072025_15_12_01_5385.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/15/12/image_10072025_15_12_01_5385.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/15/12/image_10072025_15_12_01_5385.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.198630809783936 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:20:05.902687
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.190183877944946 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:21:05.533349
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/15/20/image_10072025_15_20_01_2907.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/15/20/image_10072025_15_20_01_2907.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/15/20/image_10072025_15_20_01_2907.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.72951889038086 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:22:05.368371
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/15/20/image_10072025_15_20_01_2907.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/15/20/image_10072025_15_20_01_2907.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/15/20/image_10072025_15_20_01_2907.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.207260608673096 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:23:05.811698
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/15/20/image_10072025_15_20_01_2907.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/15/20/image_10072025_15_20_01_2907.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/15/20/image_10072025_15_20_01_2907.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.9054160118103 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:24:07.984983
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/15/20/image_10072025_15_20_01_2907.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/15/20/image_10072025_15_20_01_2907.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/15/20/image_10072025_15_20_01_2907.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.942951679229736 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:25:05.808414
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.38003468513489 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:26:05.255576
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.06940460205078 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:27:04.965772
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.50351023674011 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:28:05.502511
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/15/19/image_10072025_15_19_01_4888.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/15/19/image_10072025_15_19_01_4888.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/15/19/image_10072025_15_19_01_4888.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.123541831970215 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:29:05.277253
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/15/19/image_10072025_15_19_01_4888.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/15/19/image_10072025_15_19_01_4888.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/15/19/image_10072025_15_19_01_4888.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.49339818954468 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:30:10.997815
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/15/19/image_10072025_15_19_01_4888.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/15/19/image_10072025_15_19_01_4888.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/15/19/image_10072025_15_19_01_4888.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.01096558570862 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:31:05.635315
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.478450775146484 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:32:05.343748
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.929221868515015 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:33:06.635092
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.76414608955383 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:34:05.503255
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/15/31/image_10072025_15_31_01_9470.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/15/31/image_10072025_15_31_01_9470.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/15/31/image_10072025_15_31_01_9470.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.16975545883179 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:35:05.006811
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.80437636375427 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:36:05.745360
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.18065118789673 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:37:05.939206
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.157551527023315 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:38:04.854381
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/15/28/image_10072025_15_28_01_4041.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/15/28/image_10072025_15_28_01_4041.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/15/28/image_10072025_15_28_01_4041.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.380735874176025 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:39:05.641108
  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 = 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://uploadpy.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
uploaded 0 photos
time to upload: 33.76605772972107 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:40:05.607577
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/15/39/image_10072025_15_39_01_6636.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/15/39/image_10072025_15_39_01_6636.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/15/39/image_10072025_15_39_01_6636.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.90897536277771 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:41:05.734165
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.04608488082886 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:42:05.255493
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.6726598739624 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:43:05.031419
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.011420488357544 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:44:05.197529
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/15/38/image_10072025_15_38_01_3492.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/15/38/image_10072025_15_38_01_3492.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/15/38/image_10072025_15_38_01_3492.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.989798069000244 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:45:05.826185
  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 = 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://uploadpy.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
uploaded 0 photos
time to upload: 33.528260469436646 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:46:05.085500
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/15/45/image_10072025_15_45_01_6302.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/15/45/image_10072025_15_45_01_6302.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/15/45/image_10072025_15_45_01_6302.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.44347286224365 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:47:05.549035
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.14568829536438 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:48:04.791226
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.09280443191528 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:49:05.112834
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.9389226436615 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:50:03.085962
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/15/50/image_10072025_15_50_01_6862.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), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/15/50/image_10072025_15_50_01_6862.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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/15/50/image_10072025_15_50_01_6862.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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.10007953643799 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:51:05.398506
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/15/44/image_10072025_15_44_01_4190.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/15/44/image_10072025_15_44_01_4190.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/15/44/image_10072025_15_44_01_4190.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.93228197097778 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:52:05.963493
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.52873921394348 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:53:05.768561
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/15/52/image_10072025_15_52_01_6671.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/15/52/image_10072025_15_52_01_6671.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/15/52/image_10072025_15_52_01_6671.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.826176166534424 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:54:05.633385
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.1763174533844 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:55:04.791815
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.184184074401855 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:56:05.583667
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.52615165710449 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:57:05.544702
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/15/51/image_10072025_15_51_01_5780.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/15/51/image_10072025_15_51_01_5780.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/15/51/image_10072025_15_51_01_5780.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.823413133621216 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 15:59:04.212981
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/15/58/image_10072025_15_58_01_7728.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/15/58/image_10072025_15_58_01_7728.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/15/58/image_10072025_15_58_01_7728.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.363486766815186 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:00:05.172167
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.55764985084534 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:01:05.034242
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.834822416305542 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:02:05.115139
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.91292405128479 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:03:05.259969
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.8812210559845 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:04:05.388424
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/15/57/image_10072025_15_57_01_9323.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/15/57/image_10072025_15_57_01_9323.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/15/57/image_10072025_15_57_01_9323.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.05089521408081 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:05:05.508496
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.06851935386658 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:06:05.164429
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/16/05/image_10072025_16_05_01_8614.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/16/05/image_10072025_16_05_01_8614.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/16/05/image_10072025_16_05_01_8614.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.535199880599976 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:07:05.259771
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.58426213264465 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:08:06.909465
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.21162939071655 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:09:06.124444
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.12255120277405 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:10:05.009250
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.33563828468323 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:11:04.627041
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.87739181518555 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:12:04.889070
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.8676073551178 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:13:05.069111
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.83860898017883 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:14:05.322649
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.70928931236267 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:15:04.981134
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.22603464126587 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:16:04.853637
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.68387293815613 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:17:04.354341
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.34400773048401 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:18:04.358342
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/16/04/image_10072025_16_04_01_4588.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/16/04/image_10072025_16_04_01_4588.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/16/04/image_10072025_16_04_01_4588.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.428327560424805 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:19:05.435170
  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 = 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://uploadpy.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
uploaded 0 photos
time to upload: 32.68414330482483 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:20:05.347757
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/16/19/image_10072025_16_19_01_2522.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/16/19/image_10072025_16_19_01_2522.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/16/19/image_10072025_16_19_01_2522.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.895148515701294 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:21:05.484267
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.96480679512024 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:22:04.925972
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.59135389328003 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:23:05.337057
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.43247675895691 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:24:07.099780
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.89433670043945 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:25:05.957342
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.08059763908386 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:26:05.667552
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.51761865615845 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:27:05.196657
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.32974123954773 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:28:05.225183
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.43750190734863 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:29:05.306006
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.43047308921814 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:30:05.224241
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.6341016292572 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:31:04.839485
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.284003019332886 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:32:05.132372
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.182772397994995 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:33:05.891647
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.601420402526855 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:34:05.218234
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/16/18/image_10072025_16_18_01_3384.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/16/18/image_10072025_16_18_01_3384.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/16/18/image_10072025_16_18_01_3384.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.34760928153992 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:35:05.340966
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.58418679237366 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:36:05.394930
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/16/35/image_10072025_16_35_01_6986.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/16/35/image_10072025_16_35_01_6986.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/16/35/image_10072025_16_35_01_6986.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.660205602645874 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:37:06.037927
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/16/35/image_10072025_16_35_01_6986.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/16/35/image_10072025_16_35_01_6986.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/16/35/image_10072025_16_35_01_6986.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.18096160888672 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:38:05.203080
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.141685009002686 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:39:05.118816
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/16/40/image_10072025_16_40_01_3381.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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.37674117088318 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/10072025/16/40/image_10072025_16_40_01_3381.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-10 16:40:03.552688
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.08859872817993 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:41:05.423829
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.482887744903564 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:42:04.947206
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.07354211807251 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:43:05.908205
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.25111794471741 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:44:05.415380
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.06455373764038 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:45:06.094021
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.5265588760376 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:46:04.959951
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.79645252227783 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:47:06.018456
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.8296058177948 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:48:05.238679
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.72061109542847 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:49:05.859844
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.284034967422485 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:50:05.565598
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.72273325920105 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:51:05.831101
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.588592290878296 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:52:05.157702
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.532357931137085 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:53:05.469554
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/16/34/image_10072025_16_34_02_0145.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/16/34/image_10072025_16_34_02_0145.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/16/34/image_10072025_16_34_02_0145.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.31937599182129 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:54:05.720847
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.19600796699524 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:55:05.494066
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.783506631851196 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:56:05.764790
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.65171527862549 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:57:05.977694
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.5227746963501 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 16:59:03.982027
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.88849592208862 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:00:05.627855
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/16/54/image_10072025_16_54_01_6040.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/16/54/image_10072025_16_54_01_6040.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/16/54/image_10072025_16_54_01_6040.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.328033447265625 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:01:04.647580
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.460793018341064 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:02:05.096172
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.123350858688354 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:03:05.563440
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.99928665161133 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:04:04.963536
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.73288559913635 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:05:05.103244
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/16/53/image_10072025_16_53_01_7212.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/16/53/image_10072025_16_53_01_7212.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/16/53/image_10072025_16_53_01_7212.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.685463190078735 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:06:04.891917
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/16/53/image_10072025_16_53_01_7212.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/16/53/image_10072025_16_53_01_7212.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/16/53/image_10072025_16_53_01_7212.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.17403483390808 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:07:05.526941
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/16/53/image_10072025_16_53_01_7212.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/16/53/image_10072025_16_53_01_7212.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/16/53/image_10072025_16_53_01_7212.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.71568775177002 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:08:05.011605
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/16/53/image_10072025_16_53_01_7212.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/16/53/image_10072025_16_53_01_7212.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/16/53/image_10072025_16_53_01_7212.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-10 17:09:06.287948
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.235201358795166 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:10:05.299560
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/17/09/image_10072025_17_09_01_5143.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/17/09/image_10072025_17_09_01_5143.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/17/09/image_10072025_17_09_01_5143.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.47465968132019 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:11:05.723465
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.145774841308594 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:12:04.700296
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.233025789260864 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:13:06.147266
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.118255376815796 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:14:05.540591
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.84914255142212 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:15:05.325647
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.183629274368286 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:16:05.011371
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.63566780090332 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:17:05.864360
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.89133143424988 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:18:04.707182
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.20424699783325 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:19:05.810932
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/17/05/image_10072025_17_05_01_3906.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/17/05/image_10072025_17_05_01_3906.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/17/05/image_10072025_17_05_01_3906.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.20282506942749 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:20:05.264753
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.025492906570435 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:21:05.781807
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/17/20/image_10072025_17_20_01_9901.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/17/20/image_10072025_17_20_01_9901.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/17/20/image_10072025_17_20_01_9901.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.680920362472534 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:22:05.198405
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.325783252716064 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:23:05.832788
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.80912899971008 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:24:05.642958
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.25838494300842 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:25:06.279289
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/17/19/image_10072025_17_19_01_3155.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/17/19/image_10072025_17_19_01_3155.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/17/19/image_10072025_17_19_01_3155.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.73398160934448 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:26:05.536623
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.61709785461426 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:27:05.028696
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.37915778160095 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:28:04.904330
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/17/26/image_10072025_17_26_02_1671.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/17/26/image_10072025_17_26_02_1671.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/17/26/image_10072025_17_26_02_1671.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.55343317985535 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:29:05.354985
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/17/26/image_10072025_17_26_02_1671.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/17/26/image_10072025_17_26_02_1671.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/17/26/image_10072025_17_26_02_1671.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.229296922683716 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:30:02.787658
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/17/30/image_10072025_17_30_01_9224.jpg', 2), ('/home/pi/Desktop/images/10072025/17/26/image_10072025_17_26_02_1671.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/17/30/image_10072025_17_30_01_9224.jpg', '/home/pi/Desktop/images/10072025/17/26/image_10072025_17_26_02_1671.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/17/30/image_10072025_17_30_01_9224.jpg
/home/pi/Desktop/images/10072025/17/26/image_10072025_17_26_02_1671.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.975757598876953 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:31:05.421076
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 35.64834523200989 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:32:05.479537
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.66912889480591 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:33:06.089190
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.20832085609436 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:34:04.990709
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/17/25/image_10072025_17_25_01_5623.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/17/25/image_10072025_17_25_01_5623.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/17/25/image_10072025_17_25_01_5623.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.59030342102051 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:35:05.432989
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.28472566604614 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:36:04.801694
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/17/35/image_10072025_17_35_01_6369.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/17/35/image_10072025_17_35_01_6369.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/17/35/image_10072025_17_35_01_6369.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.994696617126465 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:37:06.254924
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.66610026359558 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:38:05.336531
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.70499873161316 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:39:06.293023
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.863330364227295 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:40:05.840700
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/17/34/image_10072025_17_34_01_8452.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/17/34/image_10072025_17_34_01_8452.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/17/34/image_10072025_17_34_01_8452.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.4974000453949 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:41:05.447670
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/17/34/image_10072025_17_34_01_8452.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/17/34/image_10072025_17_34_01_8452.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/17/34/image_10072025_17_34_01_8452.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.03452920913696 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:42:04.565413
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.03565835952759 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:43:05.407102
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/17/42/image_10072025_17_42_01_8492.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/17/42/image_10072025_17_42_01_8492.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/17/42/image_10072025_17_42_01_8492.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.49871253967285 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:44:05.054409
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.9581196308136 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:45:06.062476
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.1068115234375 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:46:04.924994
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.52207064628601 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:47:05.615215
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/17/40/image_10072025_17_40_02_1438.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/17/40/image_10072025_17_40_02_1438.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/17/40/image_10072025_17_40_02_1438.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 36.00523591041565 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:48:05.695105
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/17/40/image_10072025_17_40_02_1438.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/17/40/image_10072025_17_40_02_1438.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/17/40/image_10072025_17_40_02_1438.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.000489234924316 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:49:05.875171
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/17/40/image_10072025_17_40_02_1438.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/17/40/image_10072025_17_40_02_1438.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/17/40/image_10072025_17_40_02_1438.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.0108323097229 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:50:03.696978
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/17/40/image_10072025_17_40_02_1438.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/17/40/image_10072025_17_40_02_1438.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/17/40/image_10072025_17_40_02_1438.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.356611490249634 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:51:05.853678
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.375359535217285 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:52:05.067219
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/17/51/image_10072025_17_51_02_1100.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/17/51/image_10072025_17_51_02_1100.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/17/51/image_10072025_17_51_02_1100.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.24482321739197 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:53:05.815019
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.72325539588928 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:54:05.502610
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.141605854034424 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:55:05.038904
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.72677493095398 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:56:05.176152
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.67460250854492 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:57:06.051729
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/17/47/image_10072025_17_47_01_4785.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/17/47/image_10072025_17_47_01_4785.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/17/47/image_10072025_17_47_01_4785.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.126182556152344 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 17:59:03.751369
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.70434832572937 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:00:05.430030
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 35.18970513343811 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:01:06.104246
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.677334785461426 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:02:05.348589
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/17/58/image_10072025_17_58_02_0834.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/17/58/image_10072025_17_58_02_0834.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/17/58/image_10072025_17_58_02_0834.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.72478675842285 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:03:05.542281
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/17/58/image_10072025_17_58_02_0834.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/17/58/image_10072025_17_58_02_0834.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/17/58/image_10072025_17_58_02_0834.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.71188926696777 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:04:04.551044
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.785722970962524 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:05:04.953621
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.55253028869629 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:06:05.251071
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.45480132102966 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:07:06.352339
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/17/57/image_10072025_17_57_01_6851.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/17/57/image_10072025_17_57_01_6851.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/17/57/image_10072025_17_57_01_6851.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.50350904464722 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:08:06.147589
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.8539137840271 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:09:06.376886
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/18/08/image_10072025_18_08_02_1798.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/18/08/image_10072025_18_08_02_1798.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/18/08/image_10072025_18_08_02_1798.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.001256227493286 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:10:04.849467
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/18/08/image_10072025_18_08_02_1798.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/18/08/image_10072025_18_08_02_1798.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/18/08/image_10072025_18_08_02_1798.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.60286498069763 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:11:05.163568
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/18/08/image_10072025_18_08_02_1798.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/18/08/image_10072025_18_08_02_1798.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/18/08/image_10072025_18_08_02_1798.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.44960165023804 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:12:04.549237
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.174012660980225 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:13:04.451458
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.464603900909424 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:14:05.598247
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.42191934585571 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:15:03.371168
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.749639987945557 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:16:05.655246
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.6516592502594 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:17:05.711436
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/18/07/image_10072025_18_07_01_8474.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/18/07/image_10072025_18_07_01_8474.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/18/07/image_10072025_18_07_01_8474.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.805450677871704 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:18:05.195260
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.470850467681885 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:19:05.920589
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/18/18/image_10072025_18_18_01_9828.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/18/18/image_10072025_18_18_01_9828.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/18/18/image_10072025_18_18_01_9828.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.829537868499756 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:20:03.559328
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/18/20/image_10072025_18_20_02_0540.jpg', 2), ('/home/pi/Desktop/images/10072025/18/18/image_10072025_18_18_01_9828.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/18/20/image_10072025_18_20_02_0540.jpg', '/home/pi/Desktop/images/10072025/18/18/image_10072025_18_18_01_9828.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/18/20/image_10072025_18_20_02_0540.jpg
/home/pi/Desktop/images/10072025/18/18/image_10072025_18_18_01_9828.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.568106174468994 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:21:04.875456
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.342103719711304 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:22:05.650046
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.650431871414185 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:23:05.576609
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/18/17/image_10072025_18_17_02_1638.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/18/17/image_10072025_18_17_02_1638.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/18/17/image_10072025_18_17_02_1638.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.89892625808716 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:24:05.931316
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.78286290168762 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:25:05.551896
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/18/24/image_10072025_18_24_01_7891.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/18/24/image_10072025_18_24_01_7891.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/18/24/image_10072025_18_24_01_7891.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.227043867111206 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:26:05.575954
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/18/24/image_10072025_18_24_01_7891.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/18/24/image_10072025_18_24_01_7891.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/18/24/image_10072025_18_24_01_7891.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.31334328651428 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:27:05.985896
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.02314233779907 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:28:04.758642
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.47273278236389 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:29:04.548108
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.79141402244568 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:30:03.272349
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.17696404457092 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:31:05.593882
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/18/23/image_10072025_18_23_01_9591.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/18/23/image_10072025_18_23_01_9591.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/18/23/image_10072025_18_23_01_9591.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.227675437927246 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:32:05.133703
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.842068910598755 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:33:06.314962
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/18/32/image_10072025_18_32_01_7476.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/18/32/image_10072025_18_32_01_7476.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/18/32/image_10072025_18_32_01_7476.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.82267451286316 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:34:05.477290
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.909172773361206 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:35:05.637808
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.865041732788086 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:36:05.797942
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.80442237854004 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:37:05.323203
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.430732011795044 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:38:05.800286
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/18/31/image_10072025_18_31_01_7099.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/18/31/image_10072025_18_31_01_7099.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/18/31/image_10072025_18_31_01_7099.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.14950919151306 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:39:05.648551
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.38067078590393 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:40:05.212463
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/18/39/image_10072025_18_39_01_4286.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/18/39/image_10072025_18_39_01_4286.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/18/39/image_10072025_18_39_01_4286.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.976998567581177 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:41:04.987003
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.36718487739563 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:42:05.049666
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.5662784576416 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:43:05.907745
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.89844822883606 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:44:06.702546
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/18/38/image_10072025_18_38_01_6078.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/18/38/image_10072025_18_38_01_6078.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/18/38/image_10072025_18_38_01_6078.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.14335632324219 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:45:04.939725
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/18/38/image_10072025_18_38_01_6078.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/18/38/image_10072025_18_38_01_6078.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/18/38/image_10072025_18_38_01_6078.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.024776458740234 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:46:04.775576
  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 = 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://uploadpy.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
uploaded 0 photos
time to upload: 33.36410927772522 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:47:06.033895
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/18/46/image_10072025_18_46_01_5020.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/18/46/image_10072025_18_46_01_5020.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/18/46/image_10072025_18_46_01_5020.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.281789779663086 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:48:04.789082
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.61172556877136 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:49:05.132543
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.46052312850952 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:50:04.643755
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.18509840965271 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:51:05.327599
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.644615650177 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:52:04.880695
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.15942931175232 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:53:05.898965
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/18/44/image_10072025_18_44_02_0094.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/18/44/image_10072025_18_44_02_0094.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/18/44/image_10072025_18_44_02_0094.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.437320709228516 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:54:07.654647
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/18/44/image_10072025_18_44_02_0094.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/18/44/image_10072025_18_44_02_0094.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/18/44/image_10072025_18_44_02_0094.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.74100470542908 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:55:05.948517
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/18/44/image_10072025_18_44_02_0094.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/18/44/image_10072025_18_44_02_0094.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/18/44/image_10072025_18_44_02_0094.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.55240225791931 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:56:05.900696
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/18/44/image_10072025_18_44_02_0094.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/18/44/image_10072025_18_44_02_0094.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/18/44/image_10072025_18_44_02_0094.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.69091987609863 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:57:05.740044
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.114752531051636 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 18:59:04.230692
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/18/57/image_10072025_18_57_02_1990.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/18/57/image_10072025_18_57_02_1990.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/18/57/image_10072025_18_57_02_1990.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.022390842437744 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:00:05.142027
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.17987608909607 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:01:05.712421
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.76030969619751 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:02:06.586372
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.95956087112427 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:03:06.157115
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.50036406517029 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:04:06.279080
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.515233278274536 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:05:05.403917
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/18/53/image_10072025_18_53_01_6858.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/18/53/image_10072025_18_53_01_6858.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/18/53/image_10072025_18_53_01_6858.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.605836153030396 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:06:05.623239
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/18/53/image_10072025_18_53_01_6858.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/18/53/image_10072025_18_53_01_6858.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/18/53/image_10072025_18_53_01_6858.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.51007652282715 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:07:05.536252
  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 = 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://uploadpy.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
uploaded 0 photos
time to upload: 33.772114753723145 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:08:05.128684
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/19/07/image_10072025_19_07_02_2093.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/19/07/image_10072025_19_07_02_2093.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/19/07/image_10072025_19_07_02_2093.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.35607099533081 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:09:06.455003
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.24162292480469 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:10:03.772813
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/19/10/image_10072025_19_10_02_2780.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), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/19/10/image_10072025_19_10_02_2780.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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/19/10/image_10072025_19_10_02_2780.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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.07291555404663 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:11:06.394303
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.598395109176636 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:12:04.888994
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/19/05/image_10072025_19_05_01_5949.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/19/05/image_10072025_19_05_01_5949.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/19/05/image_10072025_19_05_01_5949.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.233176708221436 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:13:06.215085
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.03970718383789 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:14:05.715800
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/19/13/image_10072025_19_13_01_2833.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/19/13/image_10072025_19_13_01_2833.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/19/13/image_10072025_19_13_01_2833.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.79797554016113 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:15:05.555405
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.06107497215271 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:16:05.202606
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.55184197425842 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:17:05.412060
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.57805299758911 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:18:05.760414
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.30896353721619 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:19:05.904591
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.34066653251648 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:20:04.795328
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.55283451080322 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:21:05.100699
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.41708946228027 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:22:05.068562
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.77647686004639 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:23:06.146647
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.88845443725586 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:24:05.451016
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.75458002090454 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:25:05.630043
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.67414975166321 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:26:06.053462
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.50736904144287 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:27:05.094141
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.57063102722168 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:28:05.097315
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/19/12/image_10072025_19_12_02_1985.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/19/12/image_10072025_19_12_02_1985.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/19/12/image_10072025_19_12_02_1985.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.68257784843445 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:29:05.467880
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/19/12/image_10072025_19_12_02_1985.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/19/12/image_10072025_19_12_02_1985.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/19/12/image_10072025_19_12_02_1985.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.5028977394104 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:30:05.051866
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/19/12/image_10072025_19_12_02_1985.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/19/12/image_10072025_19_12_02_1985.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/19/12/image_10072025_19_12_02_1985.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.05792808532715 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:31:04.778805
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/19/12/image_10072025_19_12_02_1985.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/19/12/image_10072025_19_12_02_1985.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/19/12/image_10072025_19_12_02_1985.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.41743040084839 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:32:02.853530
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/19/12/image_10072025_19_12_02_1985.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/19/12/image_10072025_19_12_02_1985.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/19/12/image_10072025_19_12_02_1985.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.49161720275879 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:33:06.053633
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.44853854179382 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:34:05.523333
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.21712636947632 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:35:05.115377
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.73716354370117 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:36:05.288099
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.64633011817932 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:37:05.105244
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.93090796470642 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:38:03.588721
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.733846426010132 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:39:05.380145
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/19/33/image_10072025_19_33_01_2562.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/19/33/image_10072025_19_33_01_2562.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/19/33/image_10072025_19_33_01_2562.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.028409004211426 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:40:05.524324
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/19/33/image_10072025_19_33_01_2562.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/19/33/image_10072025_19_33_01_2562.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/19/33/image_10072025_19_33_01_2562.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.05695915222168 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:41:05.038703
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.87771129608154 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:42:05.629297
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.443806171417236 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:43:05.279844
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.04079627990723 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:44:04.921934
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.49798512458801 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:45:05.476310
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.20530128479004 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:46:05.481068
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.278873920440674 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:47:05.432344
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.43484854698181 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:48:05.071150
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.958709955215454 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:49:06.121591
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.14830493927002 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:50:04.907579
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.50685167312622 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:51:05.799961
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.719353914260864 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:52:05.330525
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/19/28/image_10072025_19_28_01_5327.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/19/28/image_10072025_19_28_01_5327.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/19/28/image_10072025_19_28_01_5327.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.3113648891449 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:53:04.533390
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.48564910888672 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:54:05.595207
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/19/53/image_10072025_19_53_02_0135.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/19/53/image_10072025_19_53_02_0135.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/19/53/image_10072025_19_53_02_0135.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.536009073257446 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:55:05.408864
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.90673756599426 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:56:05.028547
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.36523509025574 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:57:06.150433
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.53207087516785 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 19:59:04.569306
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/20/00/image_10072025_20_00_02_0751.jpg', 2), ('/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)]
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'] : url : https://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.365957498550415 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/10072025/20/00/image_10072025_20_00_02_0751.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-10 20:00:03.593138
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.50814771652222 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:01:05.752886
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/19/59/image_10072025_19_59_01_4692.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/19/59/image_10072025_19_59_01_4692.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/19/59/image_10072025_19_59_01_4692.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.555821895599365 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:02:05.538281
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.00888657569885 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:03:06.364934
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.34763431549072 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:04:05.663029
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.18969988822937 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:05:05.681861
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.27039623260498 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:06:05.671795
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.43185496330261 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:07:05.945543
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.43231797218323 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:08:05.482313
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.00313186645508 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:09:05.327213
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.33792686462402 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:10:05.162260
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.6608829498291 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:11:05.464643
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.459534645080566 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:12:05.040196
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.053038120269775 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:13:04.808687
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.60302114486694 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:14:05.735700
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.085169315338135 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:15:06.102159
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/19/58/image_10072025_19_58_02_2231.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/19/58/image_10072025_19_58_02_2231.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/19/58/image_10072025_19_58_02_2231.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.95976662635803 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:16:05.206278
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/19/58/image_10072025_19_58_02_2231.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/19/58/image_10072025_19_58_02_2231.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/19/58/image_10072025_19_58_02_2231.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.99453067779541 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:17:05.961870
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.52880549430847 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:18:05.338658
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/20/17/image_10072025_20_17_01_5111.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/20/17/image_10072025_20_17_01_5111.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/20/17/image_10072025_20_17_01_5111.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.289896726608276 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:19:06.299345
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/20/17/image_10072025_20_17_01_5111.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/20/17/image_10072025_20_17_01_5111.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/20/17/image_10072025_20_17_01_5111.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.470534563064575 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:20:05.584583
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/20/17/image_10072025_20_17_01_5111.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/20/17/image_10072025_20_17_01_5111.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/20/17/image_10072025_20_17_01_5111.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.34800696372986 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:21:05.871632
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.237444162368774 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:22:05.222592
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.13124465942383 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:23:06.062818
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.44517946243286 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:24:05.849068
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.79198741912842 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:25:05.569219
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.30564332008362 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:26:06.027413
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.95452547073364 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:27:06.093020
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/20/15/image_10072025_20_15_02_1927.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/20/15/image_10072025_20_15_02_1927.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/20/15/image_10072025_20_15_02_1927.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.00267052650452 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:28:04.990775
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.35584497451782 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:29:05.393304
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/20/28/image_10072025_20_28_01_9231.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/20/28/image_10072025_20_28_01_9231.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/20/28/image_10072025_20_28_01_9231.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.07995533943176 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:30:05.325376
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.22176194190979 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:31:05.096321
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.53345227241516 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:32:05.208899
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.50178074836731 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:33:05.633097
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.26868677139282 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:34:05.395904
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.61315870285034 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:35:05.111974
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.042563676834106 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:36:04.888648
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/20/27/image_10072025_20_27_02_2087.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/20/27/image_10072025_20_27_02_2087.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/20/27/image_10072025_20_27_02_2087.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.3474383354187 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:37:05.747654
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 36.716392278671265 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:38:05.044023
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/20/37/image_10072025_20_37_01_3903.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/20/37/image_10072025_20_37_01_3903.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/20/37/image_10072025_20_37_01_3903.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.59793567657471 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:39:05.375035
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.39883852005005 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:40:05.267551
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.63621187210083 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:41:04.877192
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.141438722610474 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:42:05.685593
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/20/36/image_10072025_20_36_01_4009.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/20/36/image_10072025_20_36_01_4009.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/20/36/image_10072025_20_36_01_4009.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.456201791763306 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:43:05.550517
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/20/36/image_10072025_20_36_01_4009.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/20/36/image_10072025_20_36_01_4009.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/20/36/image_10072025_20_36_01_4009.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.7701153755188 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:44:05.094014
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/20/36/image_10072025_20_36_01_4009.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/20/36/image_10072025_20_36_01_4009.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/20/36/image_10072025_20_36_01_4009.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.468257665634155 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:45:06.064644
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/20/36/image_10072025_20_36_01_4009.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/20/36/image_10072025_20_36_01_4009.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/20/36/image_10072025_20_36_01_4009.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.690147399902344 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:46:04.998177
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/20/36/image_10072025_20_36_01_4009.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/20/36/image_10072025_20_36_01_4009.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/20/36/image_10072025_20_36_01_4009.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.81325149536133 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:47:06.099425
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.92570924758911 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:48:05.249736
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/20/47/image_10072025_20_47_01_4472.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/20/47/image_10072025_20_47_01_4472.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/20/47/image_10072025_20_47_01_4472.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.00804042816162 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:49:05.282770
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/20/47/image_10072025_20_47_01_4472.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/20/47/image_10072025_20_47_01_4472.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/20/47/image_10072025_20_47_01_4472.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.0530264377594 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:50:02.878739
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/20/50/image_10072025_20_50_01_3474.jpg', 2), ('/home/pi/Desktop/images/10072025/20/47/image_10072025_20_47_01_4472.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/20/50/image_10072025_20_50_01_3474.jpg', '/home/pi/Desktop/images/10072025/20/47/image_10072025_20_47_01_4472.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/20/50/image_10072025_20_50_01_3474.jpg
/home/pi/Desktop/images/10072025/20/47/image_10072025_20_47_01_4472.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.57264518737793 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:51:05.319296
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.254703760147095 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:52:05.814186
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.02577614784241 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:53:14.450908
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.50595569610596 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:54:05.175190
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.94274854660034 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:55:05.968498
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.461915493011475 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:56:05.016320
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.54039287567139 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:57:04.998200
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.66325640678406 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 20:59:05.626441
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/20/42/image_10072025_20_42_01_3370.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/20/42/image_10072025_20_42_01_3370.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/20/42/image_10072025_20_42_01_3370.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.464499950408936 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:00:05.700055
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.501216173172 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:01:05.295050
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.121013879776 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:02:04.578091
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/21/00/image_10072025_21_00_02_2063.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/21/00/image_10072025_21_00_02_2063.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/21/00/image_10072025_21_00_02_2063.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.24891018867493 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:03:05.520611
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/21/00/image_10072025_21_00_02_2063.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/21/00/image_10072025_21_00_02_2063.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/21/00/image_10072025_21_00_02_2063.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.43606996536255 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:04:05.982117
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/21/00/image_10072025_21_00_02_2063.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/21/00/image_10072025_21_00_02_2063.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/21/00/image_10072025_21_00_02_2063.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.05068635940552 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:05:05.961786
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.317875385284424 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:06:05.975380
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.43365120887756 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:07:05.894826
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.65104341506958 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:08:05.193711
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.58460521697998 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:09:05.652392
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/20/59/image_10072025_20_59_01_4495.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/20/59/image_10072025_20_59_01_4495.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/20/59/image_10072025_20_59_01_4495.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.30075716972351 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:10:04.446057
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.653916120529175 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:11:05.540409
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/21/10/image_10072025_21_10_01_7374.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/21/10/image_10072025_21_10_01_7374.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/21/10/image_10072025_21_10_01_7374.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.654420375823975 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:12:05.106609
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.29763579368591 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:13:06.034975
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.48098373413086 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:14:04.805645
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.782066822052 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:15:05.124254
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.75379204750061 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:16:05.321044
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/21/09/image_10072025_21_09_01_9857.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/21/09/image_10072025_21_09_01_9857.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/21/09/image_10072025_21_09_01_9857.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.69865703582764 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:17:05.484734
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.72740817070007 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:18:04.937746
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/21/17/image_10072025_21_17_01_8645.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/21/17/image_10072025_21_17_01_8645.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/21/17/image_10072025_21_17_01_8645.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.546600103378296 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:19:06.045396
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.57489323616028 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:20:05.080997
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.639697313308716 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:21:05.843722
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.99013090133667 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:22:05.055844
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.10721039772034 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:23:05.283432
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.97572040557861 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:24:05.457713
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.981513023376465 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:25:05.627197
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.038328647613525 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:26:05.573651
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.23913264274597 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:27:05.447849
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.491692543029785 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:28:05.254758
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.760944843292236 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:29:05.642758
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/21/16/image_10072025_21_16_01_3504.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/21/16/image_10072025_21_16_01_3504.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/21/16/image_10072025_21_16_01_3504.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.62665772438049 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:30:05.200514
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.15677857398987 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:31:05.742302
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/21/30/image_10072025_21_30_01_7489.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/21/30/image_10072025_21_30_01_7489.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/21/30/image_10072025_21_30_01_7489.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.710440158843994 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:32:05.749011
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.8389310836792 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:33:05.524770
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.270169258117676 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:34:04.914519
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.99822449684143 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:35:05.586257
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/21/29/image_10072025_21_29_01_8255.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/21/29/image_10072025_21_29_01_8255.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/21/29/image_10072025_21_29_01_8255.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.39995551109314 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:36:03.178294
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/21/29/image_10072025_21_29_01_8255.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/21/29/image_10072025_21_29_01_8255.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/21/29/image_10072025_21_29_01_8255.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.960384607315063 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:37:06.199854
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.11748909950256 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:38:05.255100
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/21/37/image_10072025_21_37_01_7453.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/21/37/image_10072025_21_37_01_7453.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/21/37/image_10072025_21_37_01_7453.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.24899363517761 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:39:06.147928
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.45476198196411 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:40:03.460128
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/21/40/image_10072025_21_40_02_2502.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), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/21/40/image_10072025_21_40_02_2502.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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/21/40/image_10072025_21_40_02_2502.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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.2795295715332 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:41:05.568968
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.32624530792236 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:42:05.093684
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.9644992351532 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:43:05.445571
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/21/35/image_10072025_21_35_01_5702.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/21/35/image_10072025_21_35_01_5702.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/21/35/image_10072025_21_35_01_5702.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.72067475318909 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:44:04.802750
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/21/35/image_10072025_21_35_01_5702.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/21/35/image_10072025_21_35_01_5702.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/21/35/image_10072025_21_35_01_5702.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.45308184623718 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:45:05.945714
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/21/35/image_10072025_21_35_01_5702.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/21/35/image_10072025_21_35_01_5702.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/21/35/image_10072025_21_35_01_5702.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 35.61787819862366 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:46:06.335321
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.340771198272705 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:47:06.116239
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/21/46/image_10072025_21_46_02_1222.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/21/46/image_10072025_21_46_02_1222.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/21/46/image_10072025_21_46_02_1222.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.68773078918457 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:48:05.141330
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/21/46/image_10072025_21_46_02_1222.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/21/46/image_10072025_21_46_02_1222.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/21/46/image_10072025_21_46_02_1222.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.03040814399719 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:49:05.727382
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/21/46/image_10072025_21_46_02_1222.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/21/46/image_10072025_21_46_02_1222.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/21/46/image_10072025_21_46_02_1222.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.56359910964966 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:50:05.630771
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.73979330062866 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:51:05.944830
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.568549394607544 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:52:04.816098
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.993465423583984 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:53:05.211155
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/21/43/image_10072025_21_43_01_5614.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/21/43/image_10072025_21_43_01_5614.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/21/43/image_10072025_21_43_01_5614.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.69411492347717 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:54:05.468914
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.53567695617676 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:55:05.329203
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/21/54/image_10072025_21_54_01_3670.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/21/54/image_10072025_21_54_01_3670.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/21/54/image_10072025_21_54_01_3670.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.954768896102905 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:56:05.521821
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.89655303955078 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:57:05.509214
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.013535499572754 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 21:59:04.136820
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.66761231422424 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:00:04.174141
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.79687762260437 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:01:04.913808
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.38231897354126 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:02:04.938754
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.47324466705322 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:03:06.407151
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.142255544662476 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:04:05.286891
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.619476556777954 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:05:05.216461
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.85009217262268 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:06:05.420657
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.75283694267273 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:07:05.246212
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.18211340904236 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:08:05.051835
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.48297905921936 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:09:05.137340
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.55040121078491 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:10:04.994446
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.89612364768982 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:11:05.973846
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 36.087610960006714 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:12:04.899650
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.27753162384033 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:13:05.508012
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/22/11/image_10072025_22_11_01_5634.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/22/11/image_10072025_22_11_01_5634.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/22/11/image_10072025_22_11_01_5634.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.80946135520935 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:14:05.071956
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.515156745910645 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:15:05.930007
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.82100534439087 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:16:05.053451
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.84662961959839 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:17:05.157306
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.991456747055054 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:18:04.807830
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/22/02/image_10072025_22_02_01_3262.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/22/02/image_10072025_22_02_01_3262.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/22/02/image_10072025_22_02_01_3262.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.40717649459839 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:19:06.098362
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.26926350593567 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:20:05.233012
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/22/19/image_10072025_22_19_01_4524.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/22/19/image_10072025_22_19_01_4524.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/22/19/image_10072025_22_19_01_4524.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.20250129699707 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:21:05.826088
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.71049499511719 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:22:05.500376
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.285003900527954 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:23:05.565249
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.35810399055481 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:24:06.047232
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.01863646507263 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:25:06.874691
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.47179579734802 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:26:05.646520
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.84411096572876 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:27:04.614602
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.96163058280945 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:28:05.582363
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.33503222465515 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:29:05.622611
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/22/30/image_10072025_22_30_01_8292.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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.389731645584106 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/10072025/22/30/image_10072025_22_30_01_8292.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-10 22:30:03.137884
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.05722904205322 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:31:05.662729
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.70931649208069 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:32:04.799941
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.89173078536987 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:33:05.199844
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.625890254974365 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:34:05.280165
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.60569715499878 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:35:05.947923
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.2574827671051 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:36:07.492802
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.80176877975464 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:37:05.446449
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 35.02713871002197 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:38:05.325719
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.25073957443237 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:39:05.326625
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/22/18/image_10072025_22_18_01_3128.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/22/18/image_10072025_22_18_01_3128.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/22/18/image_10072025_22_18_01_3128.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.56181001663208 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:40:05.394007
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.59237241744995 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:41:05.769343
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/22/40/image_10072025_22_40_01_8570.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/22/40/image_10072025_22_40_01_8570.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/22/40/image_10072025_22_40_01_8570.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.36461544036865 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:42:05.579003
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.758761405944824 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:43:06.168701
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.80661702156067 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:44:04.962494
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.22027277946472 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:45:06.016423
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/22/39/image_10072025_22_39_01_7803.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/22/39/image_10072025_22_39_01_7803.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/22/39/image_10072025_22_39_01_7803.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 35.282159090042114 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:46:05.128252
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.31815218925476 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:47:05.733739
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/22/46/image_10072025_22_46_02_1515.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/22/46/image_10072025_22_46_02_1515.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/22/46/image_10072025_22_46_02_1515.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.00067639350891 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:48:05.148084
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/22/46/image_10072025_22_46_02_1515.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/22/46/image_10072025_22_46_02_1515.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/22/46/image_10072025_22_46_02_1515.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.72387409210205 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:49:05.204671
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 35.82718753814697 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:50:05.153412
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.97491002082825 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:51:05.609879
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.870315074920654 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:52:05.262174
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.355273723602295 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:53:05.829941
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.91867804527283 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:54:05.399299
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.478360652923584 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:55:06.344345
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.714369773864746 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:56:05.099860
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.040807247161865 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:57:05.843936
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.39692282676697 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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 22:59:04.804009
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.80033540725708 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:00:06.289938
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.514097690582275 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:01:06.280312
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.577739238739014 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:02:05.292295
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.71630811691284 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:03:05.245627
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.0212504863739 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:04:05.635250
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/22/45/image_10072025_22_45_01_4392.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/22/45/image_10072025_22_45_01_4392.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/home/pi/Desktop/images/10072025/22/45/image_10072025_22_45_01_4392.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.73428797721863 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:05:05.453152
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.046435594558716 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:06:05.145398
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/23/05/image_10072025_23_05_02_0995.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/23/05/image_10072025_23_05_02_0995.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/23/05/image_10072025_23_05_02_0995.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.44229698181152 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:07:06.049281
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.64526867866516 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:08:05.760273
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.22011375427246 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:09:05.688561
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.414655685424805 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:10:05.242190
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/23/04/image_10072025_23_04_01_7812.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/23/04/image_10072025_23_04_01_7812.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/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
/home/pi/Desktop/images/10072025/23/04/image_10072025_23_04_01_7812.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.93945622444153 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:11:05.612131
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.69565200805664 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:12:05.291554
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/23/11/image_10072025_23_11_01_8245.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/23/11/image_10072025_23_11_01_8245.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/23/11/image_10072025_23_11_01_8245.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.33858585357666 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:13:04.986573
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.75719451904297 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:14:04.917504
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.96425104141235 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:15:06.142017
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.89409017562866 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:16:05.542623
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.70763540267944 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:17:06.068232
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.31303119659424 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:18:06.415193
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.099404096603394 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:19:05.495919
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.131287574768066 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:20:03.326343
  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 = 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/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), ('/home/pi/Desktop/images/10072025/23/10/image_10072025_23_10_01_8073.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/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', '/home/pi/Desktop/images/10072025/23/10/image_10072025_23_10_01_8073.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/20/image_10072025_23_20_01_7799.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
/home/pi/Desktop/images/10072025/23/10/image_10072025_23_10_01_8073.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.375813722610474 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:21:06.026520
  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 = 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/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), ('/home/pi/Desktop/images/10072025/23/10/image_10072025_23_10_01_8073.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/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', '/home/pi/Desktop/images/10072025/23/10/image_10072025_23_10_01_8073.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/20/image_10072025_23_20_01_7799.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
/home/pi/Desktop/images/10072025/23/10/image_10072025_23_10_01_8073.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.818546533584595 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:22:05.743907
  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 = 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/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), ('/home/pi/Desktop/images/10072025/23/10/image_10072025_23_10_01_8073.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/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', '/home/pi/Desktop/images/10072025/23/10/image_10072025_23_10_01_8073.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/20/image_10072025_23_20_01_7799.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
/home/pi/Desktop/images/10072025/23/10/image_10072025_23_10_01_8073.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.215792417526245 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:23:05.383742
  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 = 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/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), ('/home/pi/Desktop/images/10072025/23/10/image_10072025_23_10_01_8073.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/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', '/home/pi/Desktop/images/10072025/23/10/image_10072025_23_10_01_8073.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/20/image_10072025_23_20_01_7799.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
/home/pi/Desktop/images/10072025/23/10/image_10072025_23_10_01_8073.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.742347240448 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:24:06.317944
  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 = 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/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), ('/home/pi/Desktop/images/10072025/23/10/image_10072025_23_10_01_8073.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/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', '/home/pi/Desktop/images/10072025/23/10/image_10072025_23_10_01_8073.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/20/image_10072025_23_20_01_7799.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
/home/pi/Desktop/images/10072025/23/10/image_10072025_23_10_01_8073.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.111403942108154 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:25:06.836894
  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 = 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/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), ('/home/pi/Desktop/images/10072025/23/10/image_10072025_23_10_01_8073.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/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', '/home/pi/Desktop/images/10072025/23/10/image_10072025_23_10_01_8073.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/20/image_10072025_23_20_01_7799.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
/home/pi/Desktop/images/10072025/23/10/image_10072025_23_10_01_8073.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.721585512161255 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:26:05.461115
  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 = 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://uploadpy.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: 33.18898344039917 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:27:05.694164
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/23/26/image_10072025_23_26_02_1925.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/23/26/image_10072025_23_26_02_1925.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/23/26/image_10072025_23_26_02_1925.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.05846333503723 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:28:05.183561
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.72585916519165 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:29:06.175245
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.01770544052124 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:30:05.551437
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.77348828315735 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:31:05.843352
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/23/20/image_10072025_23_20_01_7799.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/23/20/image_10072025_23_20_01_7799.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/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
/home/pi/Desktop/images/10072025/23/20/image_10072025_23_20_01_7799.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.771061420440674 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:32:04.912331
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.150412797927856 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:33:05.438533
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/23/32/image_10072025_23_32_01_9033.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/23/32/image_10072025_23_32_01_9033.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/23/32/image_10072025_23_32_01_9033.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.81437611579895 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:34:05.588945
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/23/32/image_10072025_23_32_01_9033.jpg', 2), ('/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)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/23/32/image_10072025_23_32_01_9033.jpg', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/23/32/image_10072025_23_32_01_9033.jpg
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.78819155693054 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:35:05.185220
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.32840633392334 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:36:04.859960
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.91697072982788 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:37:05.884729
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.99438428878784 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:38:04.893551
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.16939997673035 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:39:05.824250
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.37262678146362 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:40:05.749074
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.561768531799316 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:41:05.250817
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.1400306224823 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:42:05.530840
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.969308376312256 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:43:05.757229
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.0236611366272 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:44:05.123814
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.72490191459656 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:45:05.645346
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.3007071018219 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:46:05.723459
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.31690502166748 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:47:05.850533
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.27908897399902 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:48:05.374116
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/23/31/image_10072025_23_31_02_0682.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/23/31/image_10072025_23_31_02_0682.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/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
/home/pi/Desktop/images/10072025/23/31/image_10072025_23_31_02_0682.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.849831104278564 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:49:05.546968
  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 = 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://uploadpy.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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.78286051750183 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:50:06.587830
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.04260182380676 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:51:05.995583
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.79124855995178 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:52:06.221706
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/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)]
in upload media
 Upload medias :  ['/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', '/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'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/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
/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
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.70917248725891 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:53:05.613963
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/23/47/image_10072025_23_47_02_1380.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/23/47/image_10072025_23_47_02_1380.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/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
/home/pi/Desktop/images/10072025/23/47/image_10072025_23_47_02_1380.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.47090435028076 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:54:05.046297
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/23/47/image_10072025_23_47_02_1380.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/23/47/image_10072025_23_47_02_1380.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/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
/home/pi/Desktop/images/10072025/23/47/image_10072025_23_47_02_1380.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.291342973709106 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:55:06.447861
  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 = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/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), ('/home/pi/Desktop/images/10072025/23/47/image_10072025_23_47_02_1380.jpg', 2)]
in upload media
 Upload medias :  ['/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', '/home/pi/Desktop/images/10072025/23/47/image_10072025_23_47_02_1380.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/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
/home/pi/Desktop/images/10072025/23/47/image_10072025_23_47_02_1380.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.02241539955139 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:56:05.195492
  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 = 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.36109256744385 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/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:57:05.272181
  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 = 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.42892050743103 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
